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?

-- 
regards
takeshin
-- 
View this message in context: 
http://n4.nabble.com/Which-Zend-Form-was-submitted-tp1371563p1371563.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to