public function headingCreateAction() { parent::headingCreateAction(); $form = $this->view->form; if ($form) { $form->removeElement('show'); } }
public function headingCreateAction() { parent::headingCreateAction(); $form = $this->view->form; if ($form) { $form->removeElement('show'); $display = $form->getElement('display'); $display->setLabel('Show on feedback page?'); $display->setOptions(array('multiOptions' => array(1 => 'Show on feedback page', 0 => 'Hide on feedback page'))); } }