I need to limit the number input into a field to less than 1,000,000. The user might enter the infroamtion as 99999, or 22,222, and so on.
I have tried this:
var objChk2 = /^(\d{0,2}\,\d{0,3})$/;
but that will not allow numbers less than 10,000
then i tried
var objChk5 = /^(\d\d\,\d\d\d)$/;
but it will not allow any thing less than 1000
Any ideas would be GREAT!
Thank you,
Moe-King of the Village Idiots.
"When in trouble,
when in doubt;
Run in circles-
SCREAM & SHOUT!!"
Burma Shave
I have tried this:
var objChk2 = /^(\d{0,2}\,\d{0,3})$/;
but that will not allow numbers less than 10,000
then i tried
var objChk5 = /^(\d\d\,\d\d\d)$/;
but it will not allow any thing less than 1000
Any ideas would be GREAT!
Thank you,
![[king] [king] [king]](/data/assets/smilies/king.gif)
"When in trouble,
when in doubt;
Run in circles-
SCREAM & SHOUT!!"
Burma Shave