Sign in to follow this  

Drop Down Menu - Input Boxes

Recommended Posts

Royalty    174

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

[b]BUT [/b]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?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.