I am running into a problem with jQuery Validation and need to ignore some fields.
I need to ignore fields based on a class that I set and then also all hidden fields. What I need to do is the following, but it is only honoring the second ignore. I am assuming there is a way to tell jQuery Validation these multiple selectors but I cannot seem to find it.
validator = $("#form1").validate({
onsubmit: false,
ignore: ".ignore",
ignore: ":hidden",
Thanks,
Tim
From the validation documentation:
Therefore all you need to do is pass one parameter with your selectors separated by commas: