Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Select box question

Status
Not open for further replies.

danima

Programmer
Jan 9, 2002
134
CA
I am having trouble finding information on the following:

I am putting together a form where one of the questions has a drop down box that has 5 categories in it. The next question in the form depends on what category is chosen.

For example:
<select name=&quot;category&quot;>
<option value=&quot;accomodations&quot;>Accomodations
<option value=&quot;dining&quot;>Dining
</select>

If they choose Accomodations I'd like a new drop down to appear that shows the following:

<select name=&quot;accomodations&quot;>
<option value=&quot;hotels&quot;>Hotels
<option value=&quot;bed and breakfast&quot;>Bed & Breakfast
</select>

...or

If they choose Dining I'd like a new drop down to appear that shows the following:

<select name=&quot;dining&quot;>
<option value=&quot;restaurant&quot;>Restaurant
<option value=&quot;Fast Food&quot;>Fast Food
</select>

....bad example...but you get the point...

I'm not sure how to accomplish this?
 
sounds like a javascript question to me....


Tracey
Remember... True happiness is not getting what you want...

Its wanting what you have got!
 
I thought maybe it was....I'll hop over to that forum
 
i dont spose you are using asp / isapi / cgi or anything like that?

Tracey
Remember... True happiness is not getting what you want...

Its wanting what you have got!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top