[validate] setting errorClass per form causes duplicate errors?

[validate] setting errorClass per form causes duplicate errors?

Hello all,

I have a variety of forms on a site. I would like to be able to set different error classes for different forms, as they will need different treatment.

I have a form that I am validating where I set the error classes I want to show up like so:

  1. $("#option2").validate({
            errorClass: "error error-qtip"
    });



I think the validate plugin removes labels with the errorClass specified in the default (or in defaults you set using jQuery.validator.setDefaults). But it doesn't look like the plugin will remove the error if you set it for that individual form as I did. Anyone come across this and can advise me on what I need to do?