Search code examples
dotnetnuke

How do I prevent a user from using special characters in display name on DNN


How do I prevent a user from using special characters in display name on DNN?

I have managed to get it right for username by using the below, but it doesn't work, even though DNN help text indicates that this field is meant to apply to Username and display name.

Excluded Terms


Solution

  • In the Site Settings, tab "User Account Settings" you can find a setting "User Name Validation". There you can add a validation expression. I think this is a regex.

    Happy DNNing! Michael