Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

radio button

Status
Not open for further replies.

raji96

Programmer
Aug 7, 2001
64
US
I have a form with two radio buttons,based on the value of this button i have to enable or disable a text area in the same form.How can i do this?

If user picks 'yes' then the text area should be enabled and if the user picks 'no' then the text area should be disabled.

Thanks.
 
I may be mistaken, but I believe you'd need to use Javascript to accomplish something like that.

To do it with CGI the user would have to select the radio option, submit the form, and then the script would have to re-build a form page based on the user's selection... Notorious P.I.G.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top