Jump to content

Conditional Validation


siri

Recommended Posts

Hi Guys,I am having a textbox and a radio button. I have applied a rangevalidator for textbox so that a users enters a value withing a given range.The radio button options are yes and no.When I select the no option the value of the textbox should be reset and now if I click on the submit button it should not do any validation.How do I implement this with the asp.net validation controls

Link to comment
Share on other sites

Hi Guys,I am having a textbox and a radio button. I have applied a rangevalidator for textbox so that a users enters a value withing a given range.The radio button options are yes and no.When I select the no option the value of the textbox should be reset and now if I click on the submit button it should not do any validation.How do I implement this with the asp.net validation controls
You'll need the custom validator to do that
Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...