I am trying to make this contact form with a validation mechanism.
I can’t understand why validation doesn’t work when I click the submit button. I have already spent more than an hour doing debugging, etc.
You may notice that my form input elements have class="validate[required]", and I also attached the form to the validation mechanism:
<script type="text/javascript">
$(document).ready(function(){
$("#registerForm").validationEngine();
});
</script>
Do you see something that I am doing wrong? The demo work page for this jQuery plugin is here .
source
share