Removing username requirement in registration widget

Posted by Community Admin on 04-Aug-2018 12:44

Removing username requirement in registration widget

All Replies

Posted by Community Admin on 07-Feb-2017 00:00

We are looking to recreate a tool and put it in Sitefinity. To use this tool , we only ask that the users enter their email. We do not want them to have a username, password, etc. Is there a way to remove the username requirement from the widget completely? 

 

Without this error:

Server Error in '/' Application.

A required control was not found in the template for "~/SfCtrlPresentation/OpenAccessDataProvider_1bc6514546ba62e18cdfff0000376e70.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.Fields.TextField" and must have ID "userName".Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: Telerik.Sitefinity.Web.UI.TemplateException: A required control was not found in the template for "~/SfCtrlPresentation/OpenAccessDataProvider_1bc6514546ba62e18cdfff0000376e70.ascx". The control must be assignable from type "Telerik.Sitefinity.Web.UI.Fields.TextField" and must have ID "userName".

Posted by Community Admin on 08-Feb-2017 00:00

The way webforms works you can't just delete it... Username is kinda required... But in the next version should be removed and email will be the unique field.

 

In the meantime the easiest thing to do is to just hide it with css and wire up some JavaScript such that whatever they type into the email box gets invisibility copied to the hidden username box.

Posted by Community Admin on 23-Feb-2017 00:00

Great. Thank you!

This thread is closed