Hey thanks Jörn, I've got it 95% working, hope you can help with the
last 5%

If you take a look here: 
http://stuweb.cms.gre.ac.uk/~tm514/multibook/register.php
I want to completely hide the red div from showing until the validate
function is fired off, ive tried adding display:none to the css but
then the div doesnt show at all

thanks,
Martin

(if writing this message changes the discussion subject then I
apologize, I don't know why it's doing that!)

On Jan 14, 11:00 pm, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
wrote:
> You can specify rules using plugin options. Take a look at 
> "rules":http://docs.jquery.com/Plugins/Validation/validate#toptions
> Its also used in various demos, eg. second example 
> here:http://jquery.bassistance.de/validate/demo/
>
> Jörn
>
> On Wed, Jan 14, 2009 at 11:15 PM, martin <mar...@lucidprocess.com> wrote:
>
> > Hey Jörn thanks for the reply.
>
> > What I mean by error containers is like the examples you have provided
> > here ->http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html
>
> > I checked and yes they actually dovalidateasXHTML1.0 Transitional,
> > however, I'm usingXHTML1.1 which doesnt like having the { and } in
> > the class attribute.
>
> > Is there any way to use containers but not have to put this markup in
> > theXHTML?
>
> > thanks,
> > Martin
>
> > On Jan 9, 9:19 am, "Jörn Zaefferer" <joern.zaeffe...@googlemail.com>
> > wrote:
> >> I don't see how that isn'tvalidXHTML. Apart from that, could you clarify
> >> "error containers"? What do you mean?
>
> >> Jörn
>
> >> On Fri, Jan 9, 2009 at 12:40 AM, martin <mar...@lucidprocess.com> wrote:
>
> >> > From what I can make of the documentation, the only way to use
> >> > validation containers is to put something like...
>
> >> > class="{required:true,minlength:3}"
>
> >> > into your HTML form elements. Now this works just fine for me,
> >> > however, its notvalidXHTML.
>
> >> > Is there any way to havevalidXHTMLand use error containers?

Reply via email to