title: ASP.Net Core MVC Disable validation when a specific button is pressed
body: <p>I have 2 buttons on my form, a Submit and Save button. I want to be able to skip all validation when a user clicks the Save button. I've tried adding <code>class="cancel"</code>, <code>formnovalidate</code>, <code>formnovalidate="formnovalidate"</code>, <code>disableValidation="true"</code> to the Save button but none of them worked. Any help would be wonderful! I'm using ASP.NET Core 3.1.</p>
  
  <p><strong>Form</strong></p>
  
  <pre><code>&lt;form asp-action="Request"&gt;
  ...
  ...
  &lt;input name="answer" type="submit" value="Submit" class="btn btn-primary" /&gt;
  &lt;input name="answer" type="submit" value="Save" class="btn btn-secondary" /&gt;
  &lt;/form&gt;
  &lt;partial name="_ValidationScriptsPartial" /&gt;
  </code></pre>