addElement('text', 'email', array( 'label' => 'E-mail', 'required' => true, 'filters' => array( 'stringTrim', ), )); $this->addElement('submit', 'submit', array( 'label' => 'Restore password', 'ignore' => true, 'class' => 'ui-button ui-state-default' )); } }