I have a form with several fields and using jQuery validation plugin. My input has several rules:
{
required : "#somecheckbox:not(:checked)",
regex : "\d{10}",
maxlength : 10,
remote : [object Object],
__dummy__ : true
}
What I want to know is, how I can check which of these rules are not fulfilled (or is some specific rule valid or not). I know that this is possible as remote validation does not fire ajax requests until others are fullfiled, but I cannot find in jquery.validate.js how it is done.