PDA

View Full Version : Auto creation of fields


kathryn
04-14-2003, 02:49 PM
Hi,
I would like to have a drop down box with 3 values in it. If the user selects the second value then I need other fields to appear further down the form (6 text fields and 2 radio boxes).
Does anyone know what javascript I can use to call on the onChange event of the drop down?
Thanks, Kathryn

:confused:

beetle
04-14-2003, 03:11 PM
Is this what you need?

<select name="whatever" onchange="someFunction()">

Or the actual code to do the hide/show of the extra fields?

kathryn
04-14-2003, 03:13 PM
I'm afraid it is the actual code to create the fields that I need!!