I have a question to ask regarding jQuery validation plugin.
I have used localisation to change the default language of error messages to be displayed in Spanish, bu
You can use a jQuery library called abValidate
which you can give localized validation error messages.
Example:
$(document).ready(function () {
$(".ab-form").abValidate({
color: "#556b2f",
backgroundColor: "white",
debug: true
});
});
You just want to write everything in HTML as below once you initialized your for with abValidate
library.
abValidate - Github link:
https://github.com/aslamanver/abvalidate
Reference:
https://medium.com/@aslamanver/localized-custom-validation-messages-jquery-2892e021648f