Dynamic and Conditional Post Results
I’m making a simple directory site that only contains 1 store-type across multiple locations. The user should be able to choose from dropdowns:
Region > District > [Submit]: Result=Shops in that District.
(Note, the District should be optional; the user should be able to see the results from all Regions.)
So basically it’s:
[Parent Category] > [Sub-Categories of selected Parent] > [Posts in selected Sub-Category]
So what I need is to show a Dropdown List of all my Parent Categories.
Then, the second list should be Dynamically populated with the Sub-Category of the Parent. I say Dynamically because this list will grow as more shop locations are added.
Then when the user selects their District, they will be shown a list of the Posts (shops) in that District. Ideally this will be shown on the same page.
I hope that makes sense. Can anyone help me out?
- The topic ‘Dynamic and Conditional Post Results’ is closed to new replies.