When validation is done, there is a list of messages returned. Is there a way to get the fields whose validations are failed? Not just a list of messages.
Example:
$this->add('name', new PresenceOf(array(
'message' => 'The name is required'
)));
$this->add('email', new PresenceOf(array(
'message' => 'The e-mail is required'
)));
$this->add('email', new Email(array(
'message' => 'The e-mail is not valid'
)));
If third validation is failed, how can I know that email is not good, but name is fine?