title: Jquery validation - allow number without the leading zero?
body: <p>I'm using jquery validation (<a href="http://docs.jquery.com/Plugins/Validation" rel="nofollow noreferrer">http://docs.jquery.com/Plugins/Validation</a>) like so:</p>
  
  <pre><code>    var $__field = $("#selector");  
      if ($__field.is(":visible")) {  
          $__field.rules('add', { required: true });
          $__field.rules('add', { number: true });
      } 
  </code></pre>
  
  <p>If the user enters a number without a leading zero, eg .5 then jquery validation says "Please enter a valid number." </p>
  
  <p>How can I change the validation to allow number entry without requiring the leading zero?</p>