-- Thomas VEQUAUD <[email protected]> wrote (on Wednesday, 18 February 2009, 05:57 PM +0100): > Another question about Zend_Form! > I display a table of 11 rows and 3 columns... So 10 rows over 2 > columns with the same form elements : a textarea element in the second > column and a select element in the third. Here is the point: the > select element of a specific row is only required when the textarea > element of the same row is filled. How I'm supposed to do that? > > Advices, clues or just URLs appreciated!
Look in the Zend_Form_Element validators documentation, and search for the phrase "validator context". :) -- Matthew Weier O'Phinney Software Architect | [email protected] Zend Framework | http://framework.zend.com/
