addElement('text', 'add_show_name', array( 'label' => 'Name:', 'required' => true, 'filters' => array('StringTrim'), 'validators' => array('NotEmpty') )); // Add the description element $this->addElement('textarea', 'add_show_description', array( 'label' => 'Description:', 'required' => false, )); } }