jQuery Validate – Override default messages

If you need to override the default error messages in the jQuery Validate plugin it’s hard to find the information in the documentation. Depending on which message you want to override the statement will be a variation of
jQuery.validator.messages.TypeToChange = ‘whatever’;

For example, to change the invalid email message use:
jQuery.validator.messages.email = “Invalid Email.”;

Leave a Reply

Your email address will not be published. Required fields are marked *