Have you tried Zend_Form_Element_Submit::isChecked() ? Regards, Saša Stamenković
On Thu, Jan 28, 2010 at 3:57 PM, Nick Pack <[email protected]> wrote: > First option is favourable, although you could also use image elements > instead of submit buttons, as these can have a value. > > ---- > Nick > > > takeshin wrote: > >> I have two (or more) Zend_Forms of the same page. >> When I submit one of them, the other gets validated too. >> >> How to detect which one was submitted? >> >> Possible scenarios: >> - hidden field with unique name for each form >> - iterate all form elements and check for each if >> $_POST[$element->getName()] exists >> >> Any other sane solution? >> >>
