[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Yeah !! Wonderful ! Thank you very much, it works : label.champrequisvide { display: none !important; } On 22 juin, 18:05, Jörn Zaefferer wrote: > Try this: > > .champrequisvide { display: none !important; } > > Jörn > > On Mon, Jun 22, 2009 at 5:17 PM, ypy wrote: > > champrequisvide

[jQuery] Re: Label disappears on validation

2009-06-22 Thread Jörn Zaefferer
Try this: .champrequisvide { display: none !important; } Jörn On Mon, Jun 22, 2009 at 5:17 PM, ypy wrote: > champrequisvide

[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Thank you for your answer. It works !! But know I have another problem : a new unwanted label appears... This field is required. Can you tell me how to hide that one ? errorClass: "champrequisvide", errorContainer: "#messageChampsManquants", // div qui indique

[jQuery] Re: Label disappears on validation

2009-06-22 Thread Jörn Zaefferer
Because you are adding the error class to your default label, and the validation plugin uses that to identify the generated error labels. Use a different class in your highlight/unhighlight options, with the same styles, and it'll work. Jörn On Mon, Jun 22, 2009 at 4:46 PM, ypy wrote: > > Why do

[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Why do the form's labels disappear once a required field is filled ? I Use the last versions of jquery and validate plugin On 18 juin, 11:52, ypy wrote: > Hi, > > Let me describe the problem I have to solve : > > When a field is unvalid : its label gets the errorClass class. > Allright ! > > Wh