質問
How to validate a series of 0s value
I'm trying validate values such as 0 or 00 or 000 or 0000, or 000000 up to 10 digits.
I can use <cfif varId IS "0" OR varId IS "00" OR varId IS "000" etc> but I believed there should be a better and more elegant way to do this.
I need to reject anyone of these value from entering my database table.
Can anyone help?
Thank you!