Posted on 09/08/2017 14:12:34
Hi Nicolai,
I have tried using the code found on wrap, but it only works if the "Enable Password security - Extranet" is disabled.
This is the code:
<div class="col-md-3 col-sm-6 col-xs-12">
<div class="col">
<h4>@Translate("Mailing list", "Mailing list")</h4>
<p>@Translate("Sign up if you would like to receive occasional treats from us", "Sign up if you would like to receive occasional treats from us").</p>
<form name="UserManagementEditForm" action='/Default.aspx?ID=@GetString("Item.Area.SignUpPageId")' method="post" enctype="multipart/form-data">
<input name="UserManagementForm" value="1" type="hidden" />
<input id="UserManagementForm.DeleteImage" name="UserManagementForm.DeleteImage" type="hidden" />
<div style="display: none;">
<input name="UserManagement_Form_EmailAllowed" id="UserManagement_Form_EmailAllowed" value="True" checked="checked" type="checkbox">
<input name="UserManagement_Form_EmailAllowed_ApplyValue" id="UserManagement_Form_EmailAllowed_ApplyValue" value="AllowEmail" type="hidden">
</div>
<div class="input-group">
@{ attrValue = Translate("Your email address", "Your email address");}
<input name="UserManagement_Form_Email" id="UserManagement_Form_Email" type="text" class="form-control" placeholder="@attrValue"></input>
<span class="input-group-btn">
<input class="btn btn-base" type="submit" id="submitter" value="Go" />
</span>
</div>
<div> </div>
</form>
</div>
</div>
Thank you,
Adrian