How to keep form values in case of submition failure

20 views
Skip to first unread message

Jawad K.

unread,
Oct 3, 2014, 6:55:07 AM10/3/14
to web...@googlegroups.com
Hi,

I checked web2py book and found that we can use crud.settings.keepvalues = False for successful form submission but I want to know how can we use on failure..?
I want to keep value of email address field on login page using form=crud(), currently when user try to login with invalid username and password, the page refresh and error message appears but email id disappears.

Regards,

Jawad K.

Reply all
Reply to author
Forward
0 new messages