public function initElements()
    {
        $mailElement = tao_helpers_form_FormFactory::getElement('userMail', 'Textbox');
        $mailElement->setDescription(__('Your mail') . '*');
        $mailElement->addValidator(tao_helpers_form_FormFactory::getValidator('NotEmpty'));
        $mailElement->addValidator(tao_helpers_form_FormFactory::getValidator('Email'));
        $mailElement->setAttributes(array('autofocus' => 'autofocus'));
        
        $this->form->addElement($mailElement);
    }
public function initElements()
    {
        $mailElement = tao_helpers_form_FormFactory::getElement('userMail', 'Textbox');
        $mailElement->setDescription(__('Your mail') . '*');
        $mailElement->addValidator(tao_helpers_form_FormFactory::getValidator('NotEmpty'));
        $mailElement->addValidator(tao_helpers_form_FormFactory::getValidator('Email'));
        $mailElement->setAttributes(array('autofocus' => 'autofocus'));
        
        $this->form->addElement($mailElement);
    }
public function initElements ( ) { $ mailElement = tao_helpers_form_FormFactory :: getElement ( 'userMail' , 'Textbox' ) ; $ mailElement -> setDescription ( __ ( 'Your mail' ) . '*' ) ; $ mailElement -> addValidator ( tao_helpers_form_FormFactory :: getValidator ( 'NotEmpty' ) ) ; $ mailElement -> addValidator ( tao_helpers_form_FormFactory :: getValidator ( 'Email' ) ) ; $ mailElement -> setAttributes ( array ( 'autofocus' => 'autofocus' ) ) ; $ this -> form -> addElement ( $ mailElement ) ; }
Initialiaze recovery form elements

@access public
@author Aleh Hutnikau <hutnikau@1pt.com>
Initialiaze recovery form elements