Form Validation Forum :: alphanumeric validation

This thread was displayed: 159 times


Starting with 17th May 2007, Adobe Systems will stop offering support for any version of the discontinued InterAKT products. As a result, we will not answer to new support incidents starting with May 17th, 2007. Pending support incidents will still be followed in order to be closed. The product forums will remain open and be transformed in user-to-user forums. The general forums will be made read-only and not allow new posts or comments.

For more information about the affected products visit: www.interaktonline.com/Support/

View Threaded Show descending
Omoniyi Ewete
02-19-2007 14:54:40 GMT +2

Hi,pls i would need to know what RegExp i can input to allow only alphanumeric characters.

Back | Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
02-19-2007 15:19:15 GMT +2

Hello,

The regexp should look like this:

[a-zA-Z0-9]

Regards,
Razvan RACASANU

Reply | Quote | Top
Omoniyi Ewete
02-19-2007 16:35:54 GMT +2

Hi Razvan,pls what i meant was that,

d inputted value must contain characters [a-z,A-Z] & numbers [0-9] , eg g7Yh9gk

Reply | Quote | Top
Razvan Racasanu[InterAKT]Adobe Systems Romania staff
02-19-2007 16:51:43 GMT +2

Hello,

To do this, you need to select "Regular Expression" from the Validation format drop-down and enter this regexp:

^[a-zA-Z0-9]*$

This will prevent the user from entering anything but characters and digits.

Regards,
Razvan RACASANU

Reply | Quote | Top
© Adobe Systems Romania. All rights reserved.