[jQuery] [validate] - resetForm not working.

[jQuery] [validate] - resetForm not working.


Hi,
anybody have experience with this validation plugin?
http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html
I need to know how to specify corectly the resetForm() function.
Simply I need to have submit button to continue (which validates
before) AND I need to have second submit button which which will go
step back in my wizard and WILL NOT validate.
on the link above, in that example it works nicely...but in my
settings does not.. I have also tried their jquery library etc... but
did not helped.
My code is ...the same as in link above..
$("#PreviousBtn").click(function() {
validator.resetForm();
});
but firebugs tells me...
validator is not defined
validator.resetForm(); \n
Thanks
Tomas