in HTML - how do you make new form fields appear when you select different options?

Kaido

Elite Member & Kitchen Overlord
Feb 14, 2004
51,057
6,933
136
I'm playing with forms in HTML. I want to make a form that reacts to user feedback. For example, you go to the webpage, and it has one drop-down box. You choose an option from that box, and more options appear on the page, like radio buttons, textboxes, etc. - which ones appear depends on which option you select. Is it possible to do that and how would I do it - Javascript or something?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
particularly you're probably looking for something like someDivObject.style.display="none" or ...display="" :)