Hi,
I am using a dynamic form in which one of the field is of type "integer" using Smart Client 'integerRange' validators.
The problem is that while entering the data in the field, it is not accepting if enter the 008 or 009 values. The error comes as: "Must be a whole number”.
But the error is not coming when we enter 001,002 to 007.
The code of the field is given as:
Please help me fight this strange issue.
Thanks,
Parul
I am using a dynamic form in which one of the field is of type "integer" using Smart Client 'integerRange' validators.
The problem is that while entering the data in the field, it is not accepting if enter the 008 or 009 values. The error comes as: "Must be a whole number”.
But the error is not coming when we enter 001,002 to 007.
The code of the field is given as:
Code:
{ title: "Transit Days", name:"frmTransitDays", type:"integer", length:3, stopOnErrors:true, validators:[ {type:"integerRange", min:0, max:999, errorMessage:"Transit days must be greater than or equal to 0"} ] },
Thanks,
Parul
Comment