One error message instead of few for Zend validator
问题 I have the next element: $email = new Zend_Form_Element_Text('email'); $email->setAttribs(array('class' => 'input-text', 'id' => 'email')) ->setLabel($this->view->translate('Email')) ->setValue(null) ->setRequired(true) ->addValidator(new Zend_Validate_EmailAddress()) ->setDecorators($emailMessageDecorators); If there are more than one mistake in the email address, some errors are displaying. Like this: 'fff.fgdf' is no valid hostname for email address 'as@fff.fgdf' 'fff.fgdf' appears to be a