setWidgets(array( 'email' => new sfWidgetFormInput() )); $this->widgetSchema->setLabels(array( 'email' => 'E-mail' )); $this->setValidators(array( 'email' => new sfValidatorEmail() )); $this->widgetSchema->setNameFormat('reportpassword[%s]'); } } ?>