addElement('email', 'email', array('label' => 'Enter your email address', 'required' => true)); return $this; } protected function _initButtons() { if (!$this->_hasButtons) { return $this; } $this->addElement( 'submit', 'btnSubmit', array('label' => 'Reset Password', 'attribs' => array('class' => 'btn btn-primary')) ); return $this; } }