jQuery disable rule validation on a single field

Just add the ignore rule and define the selector.
In this example, the validation will ignore all elements that have the class="ignore"

$("#myform").validate({
   ignore: ".ignore"
})

Leave a Comment