addElement('textarea', 'adminAdditionalNote', array('label' => 'Staff Only Notes')); $this->addDisplayGroup(array('adminAdditionalNote'), 'noteGroupAdmin'); return $this; } protected function _initButtons() { $this->addElement( 'submit', 'btnSubmit', array( 'label' => 'Create and Process Payment', 'attribs' => array('class' => 'btn btn-primary'), ) ); $this->addElement( 'submit', 'btnCancel', array( 'label' => 'Cancel', 'attribs' => array( 'class' => 'btn', 'onclick' => "window.location.href = '" . htmlspecialchars($this->getCancelUrl()) . "';", 'helper' => 'formInputButton', ), ) ); $this->addDisplayGroup(array('btnSubmit', 'btnCancel'), 'submitGroup'); return $this; } }