Jump to content



Photo

Drop Down Menu - Input Boxes

input boxes drop down menu

  • Please log in to reply
No replies to this topic

#1 Paramore™

Paramore™

    Inventing the Future

  • Joined: 01-December 11
  • Location: Los Angeles
  • OS: Windows 7 Ultimate
  • Phone: Samsung Galaxy Note 4

Posted 25 June 2012 - 02:45

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>
	  <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>
	  <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?