Well, I dunno what exactly you tried - it works well in my app.

Jörn

On Mon, May 4, 2009 at 4:27 PM, Feryt <skoru...@gmail.com> wrote:
>
> Hi.
> It doesn't work, the error messages are still being displayed.
> What really helps is to set error messages to empty string:
>
> jQuery.validator.messages.required = jQuery.validator.messages.email =
> "";
>
>
> F.
>
> On 4 Kvě, 12:59, Jörn Zaefferer <joern.zaeffe...@googlemail.com>
> wrote:
>> Try this showErros implementation:
>>
>> $("...").validate({
>>         showErrors: function() {
>>                 for ( var i = 0; this.errorList[i]; i++ ) {
>>                         this.settings.highlight.call( this, 
>> this.errorList[i].element,
>> this.settings.errorClass );
>>                 }
>>                 if (this.settings.unhighlight) {
>>                         for ( var i = 0, elements = this.validElements(); 
>> elements[i]; i++ ) {
>>                                 this.settings.unhighlight.call( this, 
>> elements[i],
>> this.settings.errorClass );
>>                         }
>>                 }
>>         }
>>
>> });
>>
>> It basically replicates parts of the default behaviour, leaving out
>> the actual message display.
>>
>> Jörn
>>
>> On Mon, May 4, 2009 at 11:58 AM, Feryt <skoru...@gmail.com> wrote:
>>
>> > Hi there.
>> > Is it possible to disable showing error messages in jquery.validate
>> > plugin at all?
>> > I just need to aply css error class, not to see error messages
>> > anywhere.
>>
>> > Thank you.

Reply via email to