title: ASP.NET MVC Validation Groups?
body: <p>I have a form in which I would like to require different fields depending on which submit button is pressed.  Example: Field A is required if you press Submit Button 1, but only Field B is required if you press Submit Button 2.  If I was still using web forms, I would assign different "validation groups" to each button/validator combination.  <strong>Is there a way to do this in MVC, preferably with data annotations on the model?</strong>  I would prefer to implement client and server validation with a single solution, but I will take what I can get...</p>
  
  <p>Thanks in advance!</p>