subforms in Zend
How su开发者_开发知识库bforms created in zend? Please explain with an example.
See the chapter on Subforms in the ZF Reference Guide:
$subForm = new Zend_Form_SubForm;
$subForm->addElements(
// element configurations
);
$mainForm = new Zend_Form;
$mainForm->addSubForm($subForm, 'subformName');
Also see http://devzone.zend.com/search/results?q=zend+form
精彩评论