Im trying to set up my form with Postion Absolute jQuery Form Validation https://github.com/posabsolute/jQuery-Validation-Engine and am having a little problem. When i click submit, the errors will pop up correctly, however the form submits anyway, regardless if required fields arent filled in correctly.
Heres my necessary code:
<script>
jQuery(document).ready(function(){
// binds form submission and fields to the validation engine
jQuery("#formID").validationEngine();
});
</script>
</head>
....
<form method="post" id="formID" action="sendform.php">
...
<input name="Submit" class="submit" type="submit" id="submit" />
Let me know if you need any more info. Once again, when i click submit, the error dialoges pop up, but the form is submitted anyway. Any suggestions?
onFailure
event which helps you prevent form submission.