See the Refactoring rules section on how to add custom messages.
Sarfraz
2010-10-30 17:39:50
You can't do this generally with the rule set, since class rules are just combinations of basic rules (for example even required
is really required: { required: true }
underneath) and those have the error messages. To get custom errors you'll have to set them per-element, or use the meta-data plugin to put the rules on the element directly.