Add a custom jquery validation method not connected to a field

Posted by Johan Wikström on Stack Overflow See other posts from Stack Overflow or by Johan Wikström
Published on 2010-06-18T13:15:02Z Indexed on 2010/06/18 13:33 UTC
Read the original article Hit count: 154

Filed under:
|

Normally all validation methods is connected to a field, radiobuttons, dropdowns etc. In my case I would like to do a general custom validation that depends on many fields in my form.

I dont want one field of them to become highlighted like a normal "required", i would rather just show a message in the errorcontainer.

Is there a simple way to do this I have overlooked?

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about jquery-validate