jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

Validation is not working Immediately form submitted

Open dkedar opened this issue 7 years ago • 2 comments
trafficstars

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?

dkedar avatar Jul 20 '18 14:07 dkedar

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.

ericjohannsen avatar Aug 17 '18 22:08 ericjohannsen

What version of jQuery are you using? This plugin only guaranteed to work with version <= 2.2.4 of jQuery

victorjonsson avatar Aug 22 '18 14:08 victorjonsson