On Thursday, November 7, 2013 8:24:19 PM UTC-5, Kiran Subbaraman wrote:

> Look at the 
>
> http://web2py.com/books/default/chapter/29/07/forms-and-validators#Hide-errors.
>  
>
> I think the errors are not displayed as usual, the moment you start 
> working with a customized form.


Note, if you use form.custom.widget.fieldname in a custom form, you still 
get errors displayed automatically (the error is part of the widget 
object). The example linked above shows the hiderror option being used. In 
that case, you are explicitly suppressing the automatic error display (this 
affects standard forms as well as custom forms). In the example shown, 
instead of showing errors within the form itself (the default automatic 
behavior), the errors are manually inserted all together at the top of the 
form.

Anthony

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
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