But then wouldn't I have to alter ALL of my grids/forms to override the
message?

-Jim


On Sun, Jul 7, 2013 at 3:19 PM, Alan Etkin <spame...@gmail.com> wrote:

> 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 a topic in the
> Google Groups "web2py-users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/web2py/fUBLKVYdUZ8/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> web2py+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 

--- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to