title: How to select a button without validating form
body: <p>How do I prevent the form from checking the required field when I select the "Average Household Income" button.</p>
  
  <pre><code>&lt;form method="post"&gt;  The 
  &lt;input type="text" name="myIncome[0][Income]" required
    placeholder="#######.##" pattern="^(?=.*[1-9])\d*(?:\.\d{2}$)?" /&gt;
  
  &lt;input type="submit" name='cmdSubmit' value="Submit" 
  formaction="ProjectCensus.php"&gt;
  
  &lt;input type="submit" name='cmdAvgHousehold' value="Average Household Income" 
  formaction="Average_household.php"&gt;
  </code></pre>