[web2py] Re: keep value of email address text fieild after submit form

2014-10-11 Thread Anthony
For now, maybe something like: In a model file: def login_onfail(): session.login_email = request.post_vars.email auth.settings.login_onfail.append(login_onfail) In default.py controller: def user(): if request.args(0) == 'login' and session.login_email: db.auth_user.email.defa

[web2py] Re: keep value of email address text fieild after submit form

2014-10-11 Thread Leonel Câmara
Hey, right now, this is problematic. See this thread: https://groups.google.com/forum/#!topic/web2py/gXBfCGki9ns -- 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 Issue