Jump to content
Server Maintenance This Week. ×

Limit input to alphanumeric only


This topic is 7379 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I tried searching for this, but couldn't find anything. It's probably not difficult, I just can't see it. Anyway, I want to limit the input for a field to alphanumeric (letters and numbers) characters only. No spaces, punctuation, slashes, dashes, etc. Any help would be greatly appreciated.

Link to comment
Share on other sites

Well, you can either use a long field validation calculation of:

PatternCount(field, "A") + PatternCount(field, "B") + PatternCount(field, "C") + PatternCount(field, "D") + PatternCount(field, "E") + PatternCount(field, "F") + PatternCount(field, "G") + PatternCount(field, "H") + PatternCount(field, "I") + PatternCount(field, "J") + PatternCount(field, "K") + PatternCount(field, "L") + PatternCount(field, "M") + PatternCount(field, "N") + PatternCount(field, "O") + PatternCount(field, "P") + PatternCount(field, "Q") + PatternCount(field, "R") + PatternCount(field, "S") + PatternCount(field, "T") + PatternCount(field, "U") + PatternCount(field, "V") + PatternCount(field, "W") + PatternCount(field, "X") + PatternCount(field, "Y") + PatternCount(field, "Z") + PatternCount(field, "0") + PatternCount(field, "1") + PatternCount(field, "2") + PatternCount(field, "3") + PatternCount(field, "4") + PatternCount(field, "5") + PatternCount(field, "6") + PatternCount(field, "7") + PatternCount(field, "8") + PatternCount(field, "9") = Length(field)

or you can use a repeating field calc as in the attachment.

an_validation.zip

Link to comment
Share on other sites

This topic is 7379 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.