public function rules()
{
return array(
array('usermail', 'required'),
array('usermail','email'),
array ('usermail','verify'),
);
}
Whenever validation errors occurs it shows both the errors e.g.
If I entered rejoice in the usermail field, it shows error that it is not an email as well as error due to verify validator. Is it possible if the first validation fails e.g. email, it does not give the error message of second validation e.g. verify.