Support » Plugin: Contact Form 7 » CF7 – Dropdown Form Conditional Redirect Based On Selected Input

  • jtabb7

    (@jtabb7)


    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 /3

    I 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 issue

    Many thanks for your help!

Viewing 1 replies (of 1 total)
  • RwkY

    (@rwky)

    Hi, I’m trying to achieve the same result, any luck?

    • This reply was modified 2 years ago by  RwkY.
Viewing 1 replies (of 1 total)
  • The topic ‘CF7 – Dropdown Form Conditional Redirect Based On Selected Input’ is closed to new replies.