AlexGrande.com schrieb:
uhh accidently hit submit or something. Here is the rest of my
message:

THe CSS:

.date {
position:relative;
}

.date .researchFormError {
        left:2px !important;
}

The three error messages for the three date selects overlap and thus
to the user it seems like one message that will only go away once all
three date fields are complete! Coolness?
Thats an interesting idea, thanks! I'd still prefer a solution that enables a single message for a group of fields.
I do have a question though, what if I have list items that are added
to the DOM only if certain questions are answered true? Even though
these on the fly added questions have the needed classes "required"
they are not validated. Seems like validate plugin loops through the
DOM when the page loads and only validates these items. I need a work
around.. any suggestions?
Since the 1.2 release, the plugin doesn't mind when you add or remove elements. When submitting the form, all elements are validated (via form.elements). All element-based events rely on event delegation: The event handler is bound to the form, not to the element.

Either you are using an older version or there is a different issue here.

Jörn


Reply via email to