I have two dropdowns. Second one is conditional on the first.
When the user selects district then town, I want the button to take them to the correct dynamic page URL. At the moment they are going to the first URL of the district selected.
Here is my code so far.
Here is my database:
I am told that I need to set URL onClick using IF ELSE statements. After searching everywhere I still don't know how to apply it to my case above.
I have connected the button to the fence-builders database (see image below).
What do I do? Thanks team!