Re: [fw-general] Zend_Form_SubForm based wizard with conditional subForms

2009-01-17 Thread MPoje
I ended up approaching it by defining a public function w/in the My_Custom_Form class that takes a subForm name as its argument. In the My_Custom_Form's init() I only set the first subForm. In the controller, I called those functions conditionally to build the appropriate version of the form bas

[fw-general] Zend_Form_SubForm based wizard with conditional subForms

2008-12-13 Thread MPoje
I'm currently using Zend_Form_SubForm to create a multipage wizard. I have the straight-forward form processing as expected, however, I would like to show each successive SubForm based on conditions being submitted in the previous SubForm of the series like so: sub-1 asks a yes/no question: if (