I am trying to create a page where users have to make several options based on each other. How to create a form so that a certain type of drop-down menu # 2 is displayed in the drop-down menu # 1.
For example, suppose a user selects a "product category" and a "product subcategory". If the user selects "bedding" from the first drop-down menu, a second drop-down menu appears with options for "bed, mattress, pillow".
In addition to this example, let's say the user chose “electronics” instead of “bedding.” Then the second drop-down menu will have options such as "tv, mp3 players, computers."
How could something like this be done? Is this what you are doing in HTML / CSS or in some other form?
Thanks for the help!
EDIT - I am using Django / Python to create this site along with HTML, CSS and Javascript.
source share