Jump to content

Drop Down Menu - Input Boxes


TheMightyEddy

Recommended Posts

Hello everyone, how would I make something like if a user picks a different option from the drop down menu, each input box will be different. Example:

 

<option value="" selected="Select A Car"></option>
                        <option value="audi">Audi</option>
					</span><input name="audi" type="text" id="audi" size="30" placeholder="Audi R8" class="required">

 

BUT if for example the user DOES NOT pick "Audi" and they pick BMW, the input will be like this:

 

<option value="bmw">BMW</option>
					</span><input name="bmw" type="text" id="bmw" size="30" placeholder="BMW M5" class="required">

 

So each option will show a different input box. How do I do this?

Link to comment
https://forums.phpfreaks.com/topic/264708-drop-down-menu-input-boxes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.