title: How do I validate a form in MVC on button click?
body: <p>In my wizard I am using three buttons Next Previous and Finish like</p>
  
  <pre><code>&lt;div class="wizard-footer"&gt;
              &lt;div class="pull-right"&gt;
                  &lt;input type='button' class='btn btn-next btn-fill btn-success btn-wd btn-sm' name='next' value='Next' /&gt;
                  &lt;input type='submit' id='btnSubmit' class='btn btn-finish btn-fill btn-success btn-wd btn-sm' name='finish' value='Finish' /&gt;
  
              &lt;/div&gt;
              &lt;div class="pull-left"&gt;
                  &lt;input type='button' class='btn btn-previous btn-fill btn-default btn-wd btn-sm' name='previous' value='Previous' /&gt;
              &lt;/div&gt;
              &lt;div class="clearfix"&gt;&lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>Next and Previous input type is button and Finish is submit type. So when I click on Submit all data annotation validation validate the form according to the validation rule I defined in Modes.
  Now I want to validate each step means when I click Next button all the Model validation should validate the form but when I click Previous validation should ignore.  </p>
  
  <p>Please help me on how to validate the form when Input type is Button in MVC. I google a lot but did not find any proper solution. </p>