jQuery-Form-Validator
jQuery-Form-Validator copied to clipboard
Validation is not working Immediately form submitted
Hello I have a HTML File having a Contact form and a Php form Processing script. am I using the Validator plugin in my HTML for Client Side Validation.
But the Issue is after press the submit button form won't Validate the HTML Fields and Immediately submitted. What is Problem?
I'm just trying to get started with this library and encounter the same problem. I see validation errors when various input fields lose focus but the form happily submits anyhow. No errors in the browser's JavaScript console. Using <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-form-validator/2.3.26/jquery.form-validator.min.js"></script> and a simple form with three input controls and a submit button.
What version of jQuery are you using? This plugin only guaranteed to work with version <= 2.2.4 of jQuery