I am working on this form which is suppose to validate the form before submitting
$(document).ready(function() { $(\"#form3\").validate(); if ($(\'#form3
Put your code on the form submit event. Something like this:
$(document).ready(function() { $("#form3").validate(); $("#form3").submit(function(event) { if (!$(this).valid()) { event.preventDefault(); } }); });