title: jQuery Validate Custom Rule Ignore a Checkbox
body: <p>With some help from other post the related to validating multiple checkboxes, I decided to go with this customer rul </p>
  
  <pre><code>$.validator.addMethod("checkBox", function(value, element) {
      return $("input[type=checkbox]:checked").length &gt; 0;
  }, "");
  </code></pre>
  
  <p>I then call this in the rules section:</p>
  
  <pre><code>field_name:{checkBox:true}
  </code></pre>
  
  <p>This works great for making sure at least one checkbox is checked in the field, which is really all I need. However, when I started to test I realized I have a checkbox that is set to show/hide a div.  This checkbox is being factored into the validation and in return is making the submitted data not valid. </p>
  
  <p>I have tried using <code>ignore:".class_name"</code> but have been unsuccessful in getting the script to actually ignore this field.  </p>
  
  <p>Can anyone steer me in the right direction in getting a checkbox to be ignored in the custom validation?  Thanks in advance for the help!</p>