Log in

View Full Version : Help Disable And Enable Form



jackavin
09-04-2007, 02:56 AM
I have form about Initial name
like Mr. Ms. Mrs. and The other about 20 of it
and i want to use radio button if i click on the other the dropdown menu will enable for i choose the 20 more but if i didn't it will disable

Thank you

kasei
09-11-2007, 05:26 PM
That can't be done with HTML.

I think you'll need to use JavaScript.

Something like this:


<input type=radio name=initial_name onselect("document.write('<input type=text name=twenty_more />')") />

Now, my JS is about as good as my spanish, which is to say awful, but you get the idea, right?