--- Marcelo Bello <[EMAIL PROTECTED]> wrote: > Hi all, > > I've found a bug using the intRange JavaScript Validator. I have a > "month" field where the user is expected to type an integer in the range > > 1-12. But if the user types a number preceded by zero eg. 09, the > JavaScript validator will say that 09 is not in the range 1-12. > I haven't fixed it yet. I use Mozilla Firebird. > I use the version of validator that comes with struts 1.1.
That is the correct behavior of intRange. You should use the mask validation to define your rule. David > > Regards, > > Marcelo Bello > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
