Yeah, I knew about the css (.error) but my issue was with where it was being placed in relation to the date selector image that was added. My final solution was to append the error message before the input field. That made everything consistent.
Good luck with your form..... David -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rick Faircloth Sent: Friday, March 09, 2007 10:50 AM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector Hi, David... Your code below looks promising. So I would need to change "dateselect" to the name of one of my elements and create an div on my page with an id of "errordiv" to append to? Did you realize also that the parts that the validation plug-in creates can be addressed as label.error and input.error? Would that matter to your code? Thanks for your input! Rick -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Dexter Sent: Friday, March 09, 2007 1:23 PM To: 'jQuery Discussion.' Subject: Re: [jQuery] Validation help with Date Selector $("#myform").validate({ errorPlacement: function(error, element) { if(element.attr('id') == "dateselect") { error.appendTo("#errordiv"); } else { error.insertAfter(element); } } }); - David _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/ _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/