public function init() { parent::init(); $this->addElement('hidden', 'idECD'); $vm = new Zend_Form_Element_Multiselect('idVM'); $vm->setLabel('Value Meaning:')->addMultiOptions($this->_getDependentSelect('Default_Model_ValueMeaning'))->setDecorators($this->decorators); $this->addElement($vm); $this->addDisplayGroup(array('idVM'), 'group1', array("legend" => "Enumerated Conceptual Domain specific values")); }
public function init() { parent::init(); $this->addElement('hidden', 'idNECD'); $descr = new Zend_Form_Element_Textarea('Description'); $descr->setLabel('Description:')->addFilters(array('StringTrim'))->setDecorators($this->decorators); $this->addElement($descr); $this->addDisplayGroup(array('Description'), 'group1', array("legend" => "Non Enumerated Conceptual Domain specific values")); }