Search code examples
jqueryjquery-validation-engine

How can i change error message for email from jQuery-Validation-Engine


I would like to change the error default message for email validation in the jQuery-Validation-Engine.

I have this input field.

<input name="myemail" type="email" data-validation-engine="validate[custom[email],required]"/>

Is there a nice way to do this like data-errormessage-pattern-mismatch="foo"?


Solution

  • The answer is :

    data-errormessage-custom-error="Message"