You can try custom forms, which gives you total control over the form.
Here's a link to the doc:
http://web2py.com/book/default/section/7/7?search=custom+form

On Jun 19, 8:05 pm, Phyo Arkar <[email protected]> wrote:
> 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?- Hide quoted text -
>
> - Show quoted text -

Reply via email to