Skip to content

Instantly share code, notes, and snippets.

@aslamanver
Last active October 5, 2019 22:33
Show Gist options
  • Save aslamanver/62d2e0da4e15db028591163d9a791304 to your computer and use it in GitHub Desktop.
Save aslamanver/62d2e0da4e15db028591163d9a791304 to your computer and use it in GitHub Desktop.
jQuery custom localized validation error messages
<!-- If you have already jQuery script, then do not add this line -->
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
<!-- abValidate Library -->
<script type="text/javascript" src="https://raw.githubusercontent.com/aslamanver/abvalidate/master/abValidate.min.js"></script>
<link rel="stylesheet" href="https://raw.githubusercontent.com/aslamanver/abvalidate/mast
$(document).ready(function () {
//.ab-form is your form class
$(".ab-form").abValidate();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment