I’d like to extract a value from a dropdown box that a user selects and use this to update a URL which references a chart in an iFrame. I’ve followed the stack overflow guide here and using a document.write function to try and update the URL dynamically.
In terms of use case - the user would select their country from the dropdown and this would then update the chart to the relevant exports for the country.
Here’s the preview link
The relevant page is under “Test Coms” CMS pages and there’s just one page that has been created so far - live link to this page is here