summaryrefslogblamecommitdiffstats
path: root/application/forms/AuthRecoverPassword.php
blob: fc9478b1ded5f56b8a19d192c8edb16af655895d (plain) (tree)



























                                                                           
<?php

class Application_Form_AuthRecoverPassword extends Zend_Form
{

    public function init()
    {
        $this->setName("RecoverPassword");
		$this->setMethod('post');

        $this->addElement('text', 'email', array(
			'filters' => array('StringTrim'),
			'validators' => array(
				array('StringLength', false, array(0, 30)),
			),
			'required' => true,
			'label' => 'Email:',
		));
		$this->addElement('submit', 'recoverPassword', array(
            'required' => false,
            'ignore'   => true,
            'label'    => 'Recover Password',
        ));  
    }


}