OK, thanks. I found a workaround; by naming each button differently and instead of checking the value, just check for name in request.vars.
On Wednesday, October 30, 2013 6:30:53 PM UTC-6, John Felps wrote: > > I have an sqlform that populates from a db and has several submit buttons > named test with different _values (and appear with different names on the > screen). In PHP, the post['test'] would be equal to the button value, > however, request.vars includes test, but it is always "Working..." on > submission. I need to perform tasks based on the input button for this > form. > -- 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/groups/opt_out.