php - How to remove "label" decorators in Zend? -
how remove "label" decorators in zend each multiple radio form element?
disableloaddefaultdecorators & setseparator doesn't remove it..
$form = new zend_form(); $form->addelement('radio', 'radio', array( 'ignore' => true, 'label' => 'add new material' )); $element = $form->getelement('radio'); $element->removedecorator('label');
Comments
Post a Comment