is this true that SQLFORMs redirected to _next value when SQLFORM is
accepted? so i did this:
def lost_password():
from gluon.serializers import json
try:
form = auth.retrieve_password()
except: ### i assume that form redirected only if email send to user
return json(dict(form=DIV('Please check your email, an email sent
to you ',INPUT(_type='button',_value='Close',_class='btn btn-primary',
_onclick="$('#Modallogin').modal('hide');"))))
return json(dict(form=form))
i checked that and it works, any idea?
--
---
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.