I have an SQLFORM that populates from a database and that has buttons set
to
buttons = [TAG.button('1', _name='test'),
TAG.button('2', _name='test'),
TAG.button('3', _name='test'),
TAG.button('4', _name='test')]
and when I look at the form.vars, test isn't there, but it is in
request.vars, but no matter which button is clicked it always is set to
"Working..."
I'd like to do different things with the form based on which button is
clicked.
Thanks!
--
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/groups/opt_out.