Tuesday, June 30, 2009

[jQuery] [Validaiton] Lazy validation details

Hello,

[I apologize if this is a double post. A post made 15 minutes ago has
not shown up.]

I have a form with fields added dynamically via javascript.
Specifically, it is a list of one or more email address that the user
may enter.

When I add the field, I also add an 'email' and 'required' rule, using
$(id_selector).rules("add", ...).

After there has been a validation error in any one of the fields, the
validation of the other email fields is no longer "lazy." After
typing the first character, a validation message is displayed.

Can someone point me to the part of the validation plugin that
implements the "lazy" behavior? I have been digging, but unable to
find it. What might I be doing wrong to cause non-lazy validation?

Thanks,

redblacktree

No comments: