Zend_Form. The view script contains form elements wrapped in a table.
In the Form:
$this->addDisplayGroup(
array([fields]),
'[group_name]',
array( 'legend' => '[name] ')
);
$group = $this->getDisplayGroup('[group_name]');
$group ->setDecorators(array(
array('FormElements', array('viewScript' => '[view script]')),
'Fieldset'
));
It displays the group with the legend but omit the html table markup.
How could I fix it?
没有评论:
发表评论