I am trying to make this contact form work with validation engine.
I am not able to understand why validation is not fired when pressing the Submit button. I have already spent over one hour doing debugging and so on.
You can notice that my form's input elements have class="validate[required]"
and I also bound the form to validation engine:
<script type="text/javascript">
$(document).ready(function(){
// binds form submission and fields to the validation engine
$("#registerForm").validationEngine();
});
</script>
Do you see anything that I am doing wrong? A demo working page for this jQuery plugin is here.
Its mandatory to use an ID attribute for the input tags. So write an ID attribute to the input tag that you need to provide validation using validation engine plugin.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With