>
> Dang, why didn't I think of that. Thanks, that is exactly what I needed.
>
This is better because you don't have to deal with the language files:
# process passes the kwarg to form.validate, so form.validate(message_...)
is also valid.
form.process(message_onfailure = T("Wait a minute! This bird wouldn't voom
if you put four million volts through it!"))
This syntax is supported by FORM and SQLFORM, and CRUD methods. For
.smartgrid and .grid, I think you have to use the formargs kwarg (a
dictionary like {"message_...": <value>}
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.