Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

How to enforce this restriction in username?

Quote Reply
How to enforce this restriction in username?
How to enforce non use of _ (underscore) in username during signup? I would not want users signing up with _ in their username.

Help!

Anup
Quote Reply
Re: [anup123] How to enforce this restriction in username? In reply to
Have you tried adding a regex on the email field?

Adrian
Quote Reply
Re: [brewt] How to enforce this restriction in username? In reply to
Hi Adrian,

I had tried regex part as per Pauls' reco but it failed. So I tried Charlie's recommendation:

http://www.gossamer-threads.com/...;;page=unread#unread

and it worked nicely.

I would want the same thing to be extended to password but with a condition that the passwords are minimum 6 char long. How to go about it.

Thnx

Anup