Adding Password Confirm functionality to Register Member
Can anyone explain how I can add Password Confirm functionality to the Register Member razor snippit contained in Version 7.12.3? The snippit uses:
var registerModel = Members.CreateRegistrationModel("custom-member-type");
Looking at the RegisterModel, there does not seem to be any entry created for this. I think the correct way would be to use data annotations for this. Something in the RegisterModel like:
[Compare("Password")]
public string ConfirmPassword { get; set; }
I tried to derive from that class but no go. It would be a shame to have to manually rebuild the whole process manually for something that is contained in the back-office member creation process out of the box.
Adding Password Confirm functionality to Register Member
Can anyone explain how I can add Password Confirm functionality to the Register Member razor snippit contained in Version 7.12.3? The snippit uses:
Looking at the RegisterModel, there does not seem to be any entry created for this. I think the correct way would be to use data annotations for this. Something in the RegisterModel like:
I tried to derive from that class but no go. It would be a shame to have to manually rebuild the whole process manually for something that is contained in the back-office member creation process out of the box.
Thanks in advance....
Jamie
is working on a reply...