Zend - form doesn't get validated
问题 I'm trying to validate a form in the actual form itself, but it doesn't get validated at all. If I type "someemail&*!([]@gmail.com", it doesn't really give a crap and moves on. Form: class RecoverPasswordForm extends Form { public function __construct($options = null) { parent::__construct("RecoverPassword"); $username = new Element("username"); $username->setLabel("Email"); $username->setAttributes( array('filters' => array( array('name' => 'StringTrim'), array('name' => 'StripTags')),