[jQuery] Re: How to remove error messages from Validation Plugin

2009-05-12 Thread Chuck Cheeze
Here is an interesting way to do it. In my case, I was using a main error div at the top of the page, so I didn't need the individual label.error elements inline. They kept showing up no matter what I did until I added this to my validation: errorElement: "em" This changes the element that the

[jQuery] Re: How to remove error messages from Validation Plugin

2009-05-04 Thread Mike
You can set the text to display in the error message. I did it so that the test displayed is empty strings. $("#registerForm").validate({ errorContainer: "#messageBox", errorClass: "required", rules: { "reg_email": {

[jQuery] Re: How to remove error messages from Validation Plugin

2009-05-04 Thread Feryt
Actually, it does not work. Validation plugu-in overrides "display:none" css attribute with its own "display:inline". Feryt. On 11 Dub, 16:15, Chuck Harmston wrote: > I don't recommend this, as it will stop users from submitting the form > without giving them a reason for it. Talk about a usabi

[jQuery] Re: How to remove error messages from Validation Plugin

2009-04-11 Thread Chuck Harmston
I don't recommend this, as it will stop users from submitting the form without giving them a reason for it. Talk about a usability nightmare. However, if you insist on it, there is a simple enough solution: just use CSS to style the .error class: label.error{display:none} Chuck Harmston http://ch