>
> When I used customform for login, it won't give me any errors to be shown 
> whenever the password was invalid or email is not existing. I put it on 
> jquery mobile website. Any idea?
>
Just to clarify, if you let web2py serialize the form widgets (i.e., using 
{{=form}} or {{=form.custom.widget.field}}), the errors will display (even 
without using the web2py CSS and JS files). However, if you use completely 
custom HTML to display the widgets, then you have to handle displaying the 
errors yourself. The errors can be found in form.errors (i.e., 
form.errors.myfield contains the error message for the "myfield" field if 
there is one).

Anthony

Reply via email to