[jQuery] Reset Validation with new rules
The problem:
I have a form that changes its validation rules based on user input. I
have tried:
$("#form1").validate({rules:....});
$("#form1").unbind("submit");
$("#form1").validate({rules:....}); // Doesn't work...
His there a better way to this? Can you remove all the rules and add
new ones in?