So do I return response.flash or I return session.flash?
--
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 subscr
The form validators check for errors in the form inputs, not failed
authentication. Once the form is accepted, the auth.login() method then
checks to see if the user exists and the proper password was submitted. If
not, it sets session.flash to auth.messages.invalid_login and then does a
redire
You need to use form.custom.widget.fieldname to get the errors to display
automatically. If you create your own tags manually in HTML, then
you'll have to manually include the errors as well (the error for a given
field is in form.errors.fieldname). Maybe something like:
{{=DIV(form.errors.em
3 matches
Mail list logo