I’m trying to redirect a user to a different page after submitting a form based on their selection from a dropdown:
My dropdown is countries, and based on what country the user select, I want him to be redirected to that country-specific page, for example, if the user selects Canada from the dropdown, he should be redirected to mywesbite.com/country/canada note that country is a CMS collection.
My form ID is wf-form and my dropdown field ID is country
- what kind of custom code to use here?
Thanks in advance