By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,837 Members | 1,633 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,837 IT Pros & Developers. It's quick & easy.

Validation based on radio button selection

P: n/a

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

Any help or real samples would be greatly appreciated.

Jul 29 '07 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.