Hi folks,
In order to check a form, I'm using jQuery validate v1.13.1.
I also need a captcha and chose the one from tympanus/codrops.
Unfortunately, they won't work together
On submit, I need :
- a check on required fields (with validate.js)
- a check with the captcha.
I can't manage to have them both work at once :
Here's the code "validate" :
And the captcha :Code:$("#form-contact").validate({ //e.preventDefault(); rules: { nom: "required", email: "required", tel: "required" } });
Anyone can help please ? any clue ? TYCode:$("#formsubmit").click(function(e){ e.preventDefault(); if($('ul').validate1() == true) { alert("Yeah, you are a human!") } else { alert("No, you are not a human!") } });




Reply With Quote



Bookmarks