And is there a way to make a button which leads to a page by click, similar
to this:
form=FORM('Your name:',
INPUT(_type='submit'))
form.add_button('click me', URL('index'))
Am Sonntag, 18. Mai 2014 13:07:16 UTC+2 schrieb Multiplery:
>
> Hey,
> i have two questions.
>
> 1. when i have this code, is it possible to change the text of the submit
> button already in the controller or only in the view?
>
> form = FORM('Your name:',
> INPUT(_name='name', requires=IS_NOT_EMPTY()),
> INPUT(_type='submit'))
>
>
>
> 2. Is it possible to create a button without a form in the controller? or
> is this also something that needs to be done in the view?
>
> Thanks for you help!
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.