The plugin is unable to detect that scenario, and implementing support for it is not trivial. A workaround triggers validation on the confirm field when the password field is blurred.
There is an example in the Marketo demo, second step: http://jquery.bassistance.de/validate/demo/marketo/step2.htm Uncheck the "Same as company" checkbox, submit the form, the check the checkbox. You'll notice that the number of invalid fields is updated. The relevant code is this: $("input.toggleCheck").click(function() { if (this.checked == true) { subTableDiv.slideUp("medium"); $("form").valid(); } else { subTableDiv.slideDown("medium"); } }); You'd have to add similar code to your form: $("#password").blur(function() { $("#confirm").valid(); }); Let me know if that does the trick, and I'll add it to the documentation. Jörn On Tue, Aug 26, 2008 at 7:36 PM, koolkat <[EMAIL PROTECTED]> wrote: > > I have two input boxes: password and password confirmation. > The password confirmation has the following validation code: > equalTo: "Please enter the same password as above" > > This works fine as long as the user enters the password first. > However, if the reverse happens and the user enters the confirm first, > the error message does not disappear when the user correctly completes > the password field. I noticed the same thing in the demo on the jquery > example for this feature so I am wondering if there is any work around? >