CF7 – Dropdown Form Conditional Redirect Based On Selected Input
-
I am trying to edit an individual form in contact form 7 so that I when somebody selects a chosen field in the drop down menu they will be redirected to a specific URL when they click the submit button based on what they have chosen.
For example:
If they select 1 in the dropdown then they go to the URL containing /1
If they select 2 in the dropdown then they go to the URL containing /2
If they select 3 in the dropdown then they go to the URL containing /3I have been researching and am unable to find a clear answer to solve this problem but it appears to be pointing to using javascript and DOM Events.
However, as I am not experienced in this area I require some help to solve this problem.
I would like to know:
– what code I would need to insert to make this work
– specifically where this code should be placed within wordpress
– If it isn’t possible, any alternatives to solve this issueMany thanks for your help!
- The topic ‘CF7 – Dropdown Form Conditional Redirect Based On Selected Input’ is closed to new replies.