this is awesome - it worked!! (and Massimo says "no duh")
-wj On Mon, Nov 17, 2008 at 12:43 PM, mdipierro <[EMAIL PROTECTED]> wrote: > > you can do > > ...requires=IS_MATH('\d+',error_message=T('hey, must be a number!')) > > every validator takes error_message > > Massimo > > On Nov 17, 1:39 pm, "Wes James" <[EMAIL PROTECTED]> wrote: >> ok, wingide has helped me find what text fills the <div >> class="error">. I would like to create a custom IS_MATCH so i can >> have a custom error message for a particular field. Other than copy >> and pasting IS_MATCH in validators.py to a new function, is there a >> different way to do this? >> >> thx, >> >> -wj --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---