Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I need to required regex validation that does't allow to enter special character in textbox field
You mean only numbers and letters?
^[a-zA-Z0-9]+$
http://regexlib.com/REDetails.aspx?regexp_id=1014&AspxAutoDetectCookieSupport=1
Hi Dennis,
Thanks for your reply.
I have already try regex provided by you, but it's allow me to enter special character.
That is very strange.. What version of Umbraco are you using?
Umbraco 7.3.0
Tried the exact same regex now on a 7.3.0 installation and it worked perfect.
Do you get any error in logs? Are you sure you are applying it to the correct textbox?
It's working now, but now allow me to enter number,letter & special character including / and - in textbox
So what characters are not allowed now?
all special character except / and -
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Do not allow to enter special character in textbox field
Hi,
I need to required regex validation that does't allow to enter special character in textbox field
You mean only numbers and letters?
^[a-zA-Z0-9]+$
http://regexlib.com/REDetails.aspx?regexp_id=1014&AspxAutoDetectCookieSupport=1
Hi Dennis,
Thanks for your reply.
I have already try regex provided by you, but it's allow me to enter special character.
That is very strange.. What version of Umbraco are you using?
Umbraco 7.3.0
Tried the exact same regex now on a 7.3.0 installation and it worked perfect.
Do you get any error in logs? Are you sure you are applying it to the correct textbox?
Hi Dennis,
It's working now, but now allow me to enter number,letter & special character including / and - in textbox
So what characters are not allowed now?
all special character except / and -
is working on a reply...