Brandon Aaron schrieb: > I always append a div with an unordered list of elements above the > form and then link each error message to an input.
That's nice and I do that too. Most browsers don't focus a field from a link pointing to the field's id, so I usually add a click event to explicitly focus the form element. The field to focus is simply read from the link's href... The form I posted does that too. > I also usually add a class of 'error' to the label and input and then > on focus I remove the error class. I remove the error class only for an change event instead. You could focus the form but not change anything. Did that here: http://www.auswaertiges-amt.de/diplo/de/service/AllgemeinesKontaktformular.jsp That was my last project without jQuery :-) I doubt there will be another one... -- Klaus _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
