If you benefit from web2py hope you feel encouraged to pay it forward by contributing back to society in whatever form you choose!


  • 0
    mdmcginn  10 years ago
    I am new to web2py so maybe I am missing something , but it looks like you are missing a db insert in your page2 controller. Maybe something like this. def page2(): name = request.vars.name db.users.insert(name=name) return dict(name=name) Thanks for the example code.

Commented on:

Very easy to use and implement ajax user validation, it checks if the user exists on the DB table or not.. if it exists it avoids form submission.

Hosting graciously provided by:
Python Anywhere