Learn More





Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Username RegEx Error MessageUsername RegEx Error Message
New Post
6/1/2014 10:23 PM

Good day,

 I am able to successfully modify the RegEx code to regulate the format of Usernames. However, I have searched everywhere (except the right place apparently) to find the language for the error message. I looked in Admin -> Lanuages > SharedResources.resx - Username.RegExError , which the Username RegEx help bubble says controls the error message... But I can't find the Username.RegExError value.

Any guidance would be appreciated.


New Post
6/4/2014 8:43 PM

You likely need to find the .resx file tied to the control you want to modify.  I am not 100% sure where it is based on your description.  However, if you go the module in question, then choose module settings menu and then view source, you should be able to locate the path to the .ascx file.  Once you have that path the .resx file that contains the language should be around there.


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
New Post
7/14/2014 12:08 AM

Thanks for your reply Stuart. I located the files you are referring to, but they don't contain language settings. The help bubble for "User Name Validation" says:

"Add your own Validation Expression, which is used to check the validity of the user name provided. If you change this from the default you should update the message that a user would see when they enter an invalid username using the localization editor. (SharedResources.resx - Username.RegExError)"

But when I browse to SharedResources.resx, the resource name "Username.RegExError" is nowhere to be found. There are other editable items such as "UserNameExists.Text" or "UserRejected.Text."

 Any direction with changing the username error message would be greatly appreciated.


HomeHomeUsing DNN Platf...Using DNN Platf...Language and In...Language and In...Username RegEx Error MessageUsername RegEx Error Message

These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?