Validating form fields with ajax
error Message Key - Name of language property that is used in case the value of the input is invalid.
error Message - An alternative error message that is used if error Message Key is left with an empty value or isn't defined in the language object.
If you don't want this feature you can read the setup guide on how to disable it.
There are two ways you can give suggestions to the user while the user types.
Use the third argument to tell the validation function if error dialogs should be displayed or not.
This plugin is available through cdnjs, npm, bower and github.You can use the setup function if you want to change the border color to something else, set the property to an empty string if you don't want the border color to change when the input has an invalid value.The If wanting to use a custom method that handles the displaying/removing of error messages you should use the two methods described above.If you feel the need to configure your form validation using Java Script you probably should look into jquery-validation or or any of the other superb form validation solutions out there.But there is of course a way to accomplish this using j Query-Form-Validator as well, by using the module name - The name of the validator, which is used in the validation attribute of the input element.