thanks - that is a neat work around Massimo.
On Oct 20, 3:53 pm, mdipierro <mdipie...@cs.depaul.edu> wrote: > True but than one would need to pass two error messages. You can pipe > two validators > > [IS_MATCH('\-?\d+',error_message='not a number'),IS_INT_IN_RANGE > (0,100)] > > On Oct 19, 11:00 pm, Richard <richar...@gmail.com> wrote: > > > hello, > > > I find the validator error "too small or too large" too general. > > Ideally they should return "not a number" if the int/float cast fails, > > or "too big" / "too small" when out of range. > > > Would this work with the current API, or does each validator need to > > have a single error message? > > > Richard > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---