Javascript Form - If Other.. make new field appear...

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
User avatar
nickman013
Forum Regular
Posts: 764
Joined: Sun Aug 14, 2005 12:02 am
Location: Long Island, New York

Javascript Form - If Other.. make new field appear...

Post by nickman013 »

Hello,

I am making a form for a business. I have a option field (drop down), but I need help with one thing. I have searched the internet but i am not sure what it is called.

I would like a new text field to appear if they select "Other" in the drop down field.

I know it is JavaScript, but I cant find a tutorial, can any please direct me to one?

Thanks!
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

You're looking to change the display and/or visibility setting of the element.

Make sure it can still work for users who do not have Javascript enabled, but do support the CSS settings.
Post Reply