User Registration - Email and Username
What is the easiest way to make an email address not required in the Registration Form?
Also, I'd like to assign users their usernames. How can I do that? Their usernames will just be usr + a number
For instance, usr1001 with 1001 being the next autonumber identity value in a table.
Thanks,
Matt
Hello Matt,
One possible way to remove the validation of the email field is to drag a Registration Widget to the Page and edit it (the Registration widget is under the Users group). You need to find the ValidatorDefinition under the email TextField and remove it:
<
sf:TextField
ID
=
"email"
runat
=
"server"
DataFieldName
=
"Email"
DisplayMode
=
"Write"
Title="<%$ Resources:Labels, Email %>" CssClass="sfregisterField sfregisterEmail" WrapperTag="li">