I have a form with radio button options being displayed as 3 buttons, these 3 buttons will display three different panels. Depending on the button that is selected there will be different validation required.
For example, button 1 will have a requirement of "Name", if I have selected button 2, I don't want "Name" to be a required field when I go to save the item. How do I add validation to a Textbox (or anything) that will only be required if the correct button is selected?