i tried
$this->broken->setErrorMessages(array("isEmpty" => "Broken is required",
"notAlpha" => "Not Alpha"));
but i get both errors as long as 1 validator fails. and i dont think its a
good idea to hardcode the "isEmpty" and stuff? i shld use the constants
defined in the class? whats the right way of customising my messages? and
decorating them? say i want all errors (not just for individual elements) to
be shown at the top of the form. i used getMessages then echo it in a
foreach for now. thats the right way?
--
View this message in context:
http://www.nabble.com/How-do-i-customise-error-messages--tp23356099p23356099.html
Sent from the Zend Framework mailing list archive at Nabble.com.