<rant>
I don't want to sound like your mother but, why would you want to do this? 
Web2py already does logins for you in a standardized way that users are 
familiar with. Why not use what Web2py gives you and start working on the 
unique aspects of your application? Or at least use what Web2py gives you 
for now and enhance it later when you've got more Web2py experience under 
your belt. Creating applications is hard enough without re-inventing a worse 
wheel.
</rant>

The first thing you need to do is learn how to do Ajax form submissions in 
Web2py: http://web2py.com/book/default/chapter/10#Ajax-Form-Submission

Next, you will need to learn how to do custom login form. Something like 
this might work:
{{=form.custom.begin}}
username: {{=form.custom.widget.email}}
password: {{=form.custom.widget.password}}
{{=form.custom.widget.formkey}}
{{=form.custom.end}}

Reply via email to