how do i have to nest multicheckboxes so that they are named like this 'foo[]['bar']' .
i've used subforms but they give me naming like this 'foo[bar][]'.
my code:
$sub = new Zend_Form_SubForm('sub');
$wish = new Zend_Form_Element_MultiCheckbox('bar');
$wish
->setMultiOptions($education_direction->getAll()) ->setLabel('Wish') ->setRequired(true);
$sub->addElements(array( $wish ));
$this->addSubForm($sub, 'foo');