User Registration - Email and Username

Posted by Community Admin on 04-Aug-2018 14:26

User Registration - Email and Username

All Replies

Posted by Community Admin on 12-Aug-2011 00:00

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


Posted by Community Admin on 15-Aug-2011 00:00

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">

After you save the widget you will be able to register a new user without need to add any email in the Registration form.

As per assigning usernames - you can find the "userName" TextField and customize it as shown in this forum post.

Please let me know if this was helpful.

Best wishes,
Veronica Milcheva
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed