Hi,
How do I get $form->getValues() to return data in this format:
$event = array(
'name',
'stages' => array(
0 => array(
'name',
'groups' => array()
),
1 => array(
'name'
'groups' => array(
0 => array('name'),
1 => array('name')
)
)
)
i.e. Event > Stages > Groups
If I do something like:
$stageSubform->setElementsBelongTo('stages[0]');
$groupSubform->setElementsBelongTo('stages[0][groups][0]');
getValues() ends up returning something like:
$event[stages][0][stages][0][groups][0] instead of
$event[stages][0][groups][0].
Glen.
--
View this message in context:
http://zend-framework-community.634137.n4.nabble.com/Sub-sub-forms-tp3348125p3348125.html
Sent from the Zend Framework mailing list archive at Nabble.com.