i have 4 subforms in a form i would like to group 2 of them together, and then apply some decorators to them.
here is what i have so far. w/in each subform i already have some display groups present
$this->setSubForms(array(
'sub1' => $sub1,
'sub2' => $sub2,
'sub3' => $sub3,
'sub4' => $sub4
));
i thought i could do something like
$set1 = $this->setSubFormDecorators(array(
'sub1' => $sub1,
'sub2' => $sub2
));
$set1->setDecorator(array('something here'));
$set2 = $this->setSubFormDecorators(array(
'sub3' => $sub3,
'sub4' => $sub4
));
$set2->setDecorator(array('something here'));
obviously this doesn't work at all.
I really couldn't find anything in ZF's documentation. I thought i post it here if anyone else has run across this quandary.