I have a simple validate block like this:

$("#myForm").validate({
     ignore: ":hidden"
});

When the user clicks a certain button, I would like to change that ignore rule to ignore: [] , then validate it and then switch back. I realize I could use classes instead but I want to know if there is a way around that.

Edit: It should be noted that ignore: [] is the proper way to do it when using .validate().

Edit
Report