On Saturday, February 17, 2018 at 11:30:53 PM UTC-5, F.C. wrote: > > I am creating custom forms using the standard authentication sql forms. > Where can I get a list of all the relevant fields that come with these > forms. >
You can simply view the forms in a browser. To see the names of the fields, just use the browser's inspection tools. You can also submit a form and inspect request.post_vars in the controller. You can also check the code in /gluon/tools.py. The methods starting here <https://github.com/web2py/web2py/blob/master/gluon/tools.py#L2558> are for each of the Auth actions, and they include the construction of the forms displayed for the respective actions. > For example, for the password, reset I believe that password and > password_two can be used to grab the password from the user. What field is > used to capture the old password? > The value would be in request.post_vars.old_password. Anthony -- 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 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/d/optout.

