If you just want to customize the submit button label you can use:
form = SQLFORM(db.mytable, submit_button='new submit label')


Or if you need to customize more probably you should use FORM:
FORM(
    INPUT(_name='name', requires=IS_NOT_EMPTY()),
    INPUT(_type='submit', _value='new submit label')
)


Have you got the manual to check out the examples in chapter 7? If not
you can view it online: http://www.scribd.com/doc/19211452/Web2py-Manual

Richard


On Sep 25, 1:31 pm, Alexandre Andrade <[email protected]>
wrote:
> I cant figure how to do it with
> form = FORM
> form = SQLFORM
> form = SQLFORM.factory
>
> --
> Atenciosamente
>
> --
> =========================
> Alexandre Andrade
> Hipercenter.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to