The remote validation is supposed to do nothing until the ajax result
is returned. Its probably a bug, though a testpage would help a lot to
confirm that.

Jörn

On Mon, Oct 27, 2008 at 12:19 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> I have a registration form that I'm trying to validate using
> jquery.validate.js v1.2 with jQuery 1.2.6.
>
> On the username field, I am doing remote validation to verify the
> username does not already exist. When I blur out of the field, I
> *always* get an error under the field telling me the username is
> already taken, before the remote validation even has a chance to run.
> If I then refocus the field, the error message goes away; when I blur
> again, the error message doesn't re-appear.
>
> The remote method is clearly returning the proper values (true if the
> username is available, false if the username is taken). However, I
> don't understand why the field is being marked invalid before the
> remote method even runs.
>
> Any ideas?
>
> Thanks,
> Rebeca
>

Reply via email to