Thanks for the help. No its just I am use to creating The form manually then doing a jquery Ajax post using php.
On Mar 2, 8:33 pm, Anthony <abasta...@gmail.com> wrote: > Yes, as pbreit points out, web2py already has functionality to handle this > kind of thing for you. > > First, you generally won't need to create a form in HTML. Instead, read the > book to learn about web2py's multiple options for creating and processing > forms:http://web2py.com/book/default/chapter/07. > > Second, for logins specifically, web2py has an excellent authentication and > authorization system, also discussed in the > book:http://web2py.com/book/default/chapter/08. > > And as noted below, there's also information about Ajax form > submission:http://web2py.com/book/default/chapter/10#Ajax-Form-Submission > > The book is your friend -- read it. :) > > Best, > Anthony > > > > On Wednesday, March 2, 2011 6:51:18 PM UTC-5, pbreit wrote: > > <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}}