Thanks Jorn I'm looking at that, however I think I've devised another method.
I need this code to be run on each offending field: $('[for=name]').parents('.grid-26') // for=name is the selctor for the label. .prepend('<p>Please write your real name</p>') .wrapInner('<div class="error"></div>'); }); I only really have a background in PHP, so in PHP terms, how do I do a foreach ($errors as $error) and then call the above code with the selector and the error message? Thanks! Beren On Oct 1, 9:01 am, Jörn Zaefferer <joern.zaeffe...@googlemail.com> wrote: > Take a look at the errorPlacement option, documented > here:http://docs.jquery.com/Plugins/Validation/validate#toptions > > Jörn > > On Thu, Oct 1, 2009 at 12:53 AM, Samuurai <djbe...@gmail.com> wrote: > > > Hi, > > > I have got some very rudimentary validation working with JQuery > > validation, however, by default, it creates some label tags with the > > error messages in them, right next to the input tags which have > > errors. > > > How can I control where these error messages are displayed, as they're > > inside the same div as the input tag which is causing display issues. > > > I'm very new to JQuery so please elaborate a little bit if you can. > > > Thanks! > > > B