samelk
Posts: 35
|
| Posted: 04/09/2008, 2:06 PM |
|
Hello,
I noticed that CCS4 comes with a built in zipcode and email validation. What is the best way to add alphanumeric (0-9, a-z, A-Z) and numeric (0-9) validations to fields on my form?
Thank you in advance,
Sam
|
 |
 |
CCT
Posts: 44
|
| Posted: 04/10/2008, 11:23 AM |
|
Hello.
As you see, when you choose "Email/Zip" presets in "Input Validations" it's replaced with some regular expression. You can write any Regular Expression here.
In your case:
^[a-zA-Z0-9]+$ (or ^\w+$, but this will also include underscore)
^\d+$
Best regards,
Frank.
_________________
Get more CodeCharge Studio builders at http://codechargetools.com |
 |
 |
samelk
Posts: 35
|
| Posted: 04/10/2008, 7:28 PM |
|
Frank,
Works great. I really appreciate your help.
Sam
|
 |
 |
|