Hi AxIF,

you can use the errorPlacement:

errorPlacement: function(error, element) {
                 if(element.attr("id") == 'cname'){ // match your
element's id
                   error.addClass("invalid"); // add invalid class
                   error.appendTo(element.parent()); // this line will
change depends on your form layout
               }else{
                  error.appendTo(element.parent()); // this line will
change depends on your form layout
               }
             }

Daniel.

On Nov 24, 12:40 am, Cronet <[EMAIL PROTECTED]> wrote:
> Hi,
>
> i would like adding all errors the call .inlineError ... Simply done
> with
>
>         $("#UserAddForm").validate({
>                         errorClass: "inlineError"
>                   }
>         });
>
> Is it possible adding to one Element the class .error, all
> others .inlineError ?
>
> Regards,
> AxlF

Reply via email to