November 13th, 2003, 02:54 PM
Is there a way to validate a field so it has to have 4 numbers entered into it. No less and no more?
November 14th, 2003, 09:30 AM
try using the coldfusion functions Len(variable) isNumeric(variable) Find(variable, stringtofind)
make sure the length is 4, its numeric, and it doesn't contain a . or -
My brain cells are like a storm trooper's armor: useless
November 25th, 2003, 07:48 AM
Could try something like
If "[^[:digit:]]" doesnt work on your version of CF, you can use "[^[0-9]]".
Value is good
Value is bad
I think "[^[0-9]]" is right
November 27th, 2003, 10:53 AM