Use a sub form:

$guestForm = new Zend_Form_SubForm();

$firstName = new Zend_Form_Element_Text('firstName');
// etc.

$guestForm->addElements(array($firstName, $lastName, $company));

$form->addSubForm($guestForm, 'guest');

_da.
-- 
View this message in context: 
http://n4.nabble.com/Zend-Form-Elements-with-name-of-form-array-key-tp1560286p1563124.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to