Then your code isn't the same. Go back to the example and look at
where the validator-variable is defined.

If that doesn't work out, post a testpage, or at least your full code.

Jörn

On Wed, Aug 19, 2009 at 11:51 AM, Tokasa<toka...@gmail.com> wrote:
>
> 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
>

Reply via email to