Posted on 22/02/2018 09:19:40
Hi Jens,
Attaching the template we are using.
Basically this is needed for creating a user:
<input type="checkbox" style="display:none;" name="EcomUserCreateNew" id="EcomUserCreateNew" checked="checked" />
<div class="card">
<label for="EcomUserCreateUserName">@Translate("Username")</label>
<input type="text" class="u-full-width" name="EcomUserCreateUserName" id="EcomUserCreateUserName" value="" placeholder="Förslagsvis e-postadressen" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreateUserName.ErrorMessage")</div>
<label for="EcomUserCreatePassword">@Translate("New password")</label>
<input type="password" class="u-full-width" name="EcomUserCreatePassword" id="EcomUserCreatePassword" value="" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreatePassword.ErrorMessage")</div>
<label for="EcomUserCreateConfirmPassword">@Translate("Confirm password")</label>
<input type="password" class="u-full-width" name="EcomUserCreateConfirmPassword" id="EcomUserCreateConfirmPassword" value="" />
<div class="field-error">@GetString("Ecom:Cart.ValidationError.EcomUserCreateConfirmPassword.ErrorMessage")</div>
</div>