Contact form 7 conditional redirect
-
figured it out finally… trial and error, 2 nights of hard work, but here is the working model which I tested and works in ff, ie, and chrome.
this code goes at the bottom box “Additional Settings” box and paste to notepad first as 1 line then copy and past from there. Payen it forward 🙂on_sent_ok: " if (document.getElementById('youridnamenospaces').value=='your drop down value spaces ok') location = 'http://yoururl.com/page1/'; else if (document.getElementById('sameidnamenospaces').value=='your drop down option #2 spaces ok' ) location = 'http://yoururl.com/page2/'; else location.replace('http://yoururl.com/page0');"
The topic ‘Contact form 7 conditional redirect’ is closed to new replies.