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

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -