Re: [fw-general] Zend_Form_SubForm within a Zend_Form_DisplayGroup

2011-05-30 Thread Bart McLeod
Hi Marco, You can't mix displaygroups and subforms unfortunately. That's why a few years ago I built a system that involved a formbuilder and groupingdefinitions that could be nested. This worked really well and also performed reasonably well. This however required a lot of work from my

Re: [fw-general] Zend_Form_SubForm within a Zend_Form_DisplayGroup

2011-05-30 Thread Marco Pivetta
That's a bit clunky :S I have dozens of different forms built upon metadata coming from a DB schema... Makes stuff complicated... Will see if I can implement it just working with subforms, even if this destroys the -getElement() logic, forcing me to iterate through subforms... Marco Pivetta

[fw-general] Zend_Form_SubForm within a Zend_Form_DisplayGroup

2011-05-27 Thread Marco Pivetta
Hello there, A customer of mine requires me to create some kind of locked for fields. Not entering in the details for this stuff, but I need to store somewhere: a) the Zend_Form_Element value b) the Zend_Form_Element_Checkbox value (a checkbox that defines the field as locked) Here's the big