use HTML Form ,
Check in Web2py Book , Section SQLForms near the end.
It is simple , construct the form yourself in html , and then add :
form = SQLFORM(db.table)
if form.accepts(request.vars, formname='name_of_form'):
formname='name_of_form' , which is a hidden inside value inside the form you
made.
Oh if you want web2py to generate the form for you , just abuse SQLForm
manually and , copy paste the generated html code , then add the hidden
field with value :).
On Sat, Jun 19, 2010 at 11:18 PM, Binh <[email protected]> wrote:
> Hi,
>
> Is there any way to generate the auth form and general SQLForms with a
> div wrapping instead of the default table wrapping without hacking the
> form generators?