G
Gary W. Smith
Hello,
I have a simple form with a radio button group on it and I need to do
some basic validation based upon which button is checked. Here is a
little more detail.
if button one is selected, then we want to do validation on textbox
control one and no validation on textbox two. If button two is
selected, then we want to do validation on textbox control two and no
validation on textbox one.
Each textbox has its own regularexpressvalidation control as well as a
required field control. As such, when the users click on the first
radio button they can't continue because the second item has no value.
I would like to do this on the front end but I just don't have much
experience with javascript and its interaction with .net to make this
work.
Any help or real samples would be greatly appreciated.
I have a simple form with a radio button group on it and I need to do
some basic validation based upon which button is checked. Here is a
little more detail.
if button one is selected, then we want to do validation on textbox
control one and no validation on textbox two. If button two is
selected, then we want to do validation on textbox control two and no
validation on textbox one.
Each textbox has its own regularexpressvalidation control as well as a
required field control. As such, when the users click on the first
radio button they can't continue because the second item has no value.
I would like to do this on the front end but I just don't have much
experience with javascript and its interaction with .net to make this
work.
Any help or real samples would be greatly appreciated.