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="category">
<option value="accomodations">Accomodations
<option value="dining">Dining
</select>
If they choose Accomodations I'd like a new drop down to appear that shows the following:
<select name="accomodations">
<option value="hotels">Hotels
<option value="bed and breakfast">Bed & Breakfast
</select>
...or
If they choose Dining I'd like a new drop down to appear that shows the following:
<select name="dining">
<option value="restaurant">Restaurant
<option value="Fast Food">Fast Food
</select>
....bad example...but you get the point...
I'm not sure how to accomplish this?
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="category">
<option value="accomodations">Accomodations
<option value="dining">Dining
</select>
If they choose Accomodations I'd like a new drop down to appear that shows the following:
<select name="accomodations">
<option value="hotels">Hotels
<option value="bed and breakfast">Bed & Breakfast
</select>
...or
If they choose Dining I'd like a new drop down to appear that shows the following:
<select name="dining">
<option value="restaurant">Restaurant
<option value="Fast Food">Fast Food
</select>
....bad example...but you get the point...
I'm not sure how to accomplish this?