title: Create jQuery Validate rule for positive whole numbers
body: <p>How do I create a rule for only positive whole numbers greater then 0 (ex. 1,2,3,4,5,etc)?</p>
  
  <pre class="lang-js prettyprint-override"><code>var form = $('#formClientLicense')[0];
  $(form).validate();
  
  var quantity = $(form).find("input[name='Quantity']")[0];
  $(quantity).rules("add", {
      required: true,
      min: 1,
      step: 1,
      number: true,
      messages: {
          required: jQuery.validator.format("Required Field"),
          number: "Not a number",
          min: jQuery.validator.format("Please select positive number"),
          step: jQuery.validator.format("Please select whole number (ex. 1,2,3,4)")
      }
  });
  
  if ($(form).valid()) {
      // run here
  }
  </code></pre>