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

Radio Buttons Direct to certain URLs - Enable/Disable features based on selections

P: 1
My form needs to (1) direct to specified URLs based on a combination of form selections and (2) enable/disable form features based on selections within the form


Radio 1
- A
- B
- C

Select Box 1
- 1
- 2
- 3

Combo selected and target URL

A1 -
A2 -
A3 -
B1 -
B2 -
B3 -
C1 -
C2 -
C3 -

Text boxes ("enter data")

Radio 2
- X
- Y
- Z

If combination A1, B1, or C1 is selected, then all the text boxes and Radio 2 are Enabled, but if A2, B2, C2, A3, B3, or C3 is selected, then the text boxes and Radio 2 are Enabled.


My form is actually a little more complex than this, but this gives the basic idea.

Any ideas most appreciated - Thanks
Apr 15 '07 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 15k+
P: 16,027
Welcome to TSDN.

Use the onclick event handler to handle selections. Then use the disabled property to enable/disable elements, e.g. see link.
Apr 16 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.