On Tuesday, April 16, 2019 at 6:46:52 PM UTC-7, Dave S wrote: > > > > On Tuesday, April 16, 2019 at 2:56:53 PM UTC-7, Ben Lawrence wrote: >> >> The _value is the word that appears inside the button on the web-page. It >> seems "Working..." is the value in form.vars where the key is _name. >> >> regards >> Ben >> > > All the other buttons show up in form.vars as well? I'd have expected > only the one that was clicked. > > I'll have to contrive an example at home. >
I did, with 3 buttons. The original "Submit" button was not shown, and clicking on any of the 3 added buttons submitted the form. All 3 ids were in form.vars, 2 with empty string values and 1 with 'Working...'. A lesson in every box. /dps -- 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.