title: Check if all required inputs are filled and submit form automatically
body: <p>In my form I want that when all required fields (<code>.required-entry</code>) are filled, automatically submit form without clicking on submit button.</p>
  
  <pre><code>&lt;div id="billing-form"&gt;
      &lt;fieldset&gt;
          &lt;div class="field form-group"&gt;
              &lt;input type="text" class="input-text form-control required-entry" id="name" /&gt;
          &lt;/div&gt;
          &lt;div class="field form-group"&gt;
              &lt;input type="text" class="input-text form-control required-entry" id="mid-name" /&gt;
          &lt;/div&gt;
      &lt;/fieldset&gt;
  &lt;/div&gt;
  &lt;div class"button-container"&gt;
      &lt;button type="button" title="Continue" id="btn-continue" class="button btn-continue" onclick="billing.save()"&gt;Continue&lt;/button&gt;
  &lt;/div&gt;
  </code></pre>