On Apr 22, 2010, at 4:28 PM, dave wrote: > When using validator IS_INT_IN_RANGE(19000000,21000000) and a value of > 21000000 is entered an error message of 'enter an integer between > 19000000 and 20999999' is displayed. A value of 19000000 is accepted.
It's using the Python notion of a range, from the programmer's point of view, but not the user's. > > Seams like the range of the validator should be inclusive for BOTH > ends. I have not checked validator IS_FLOAT_IN_RANGE Float is inclusive; Python doesn't have an intrinsic notion of a float range. -- Subscription settings: http://groups.google.com/group/web2py/subscribe?hl=en