Validation Problems, Require text box if a radio button is clicked

D

djjohnst

I am creating a form(survey) where the first question is a yes/no
question using two radio buttons. If they click "yes" I want to then
make the next 4 questions required. I am not sure how to do this. I
thought I could use a custom validator, and using code behind use an
IF statement. However, I am not sure how to pass the value from the
radio button group. I am having trouble. If this is easy forgive me, I
am new at this .net game.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,596
Members
45,139
Latest member
JamaalCald
Top