INPUT(_type="submit", _value="click me") You can always do
<input type="button" value="click me"/> On Sunday, 18 May 2014 06:07:16 UTC-5, Multiplery wrote: > > 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 web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.