This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Contact form 7 - Redirect to a specific page based on the value of a form | |
* field. In this specific example I created a drop down menu item and gave | |
* it an id of 'select-menu', I also created . | |
*/ | |
function cf7_redirect() { | |
// Set the base url for contact-form-7 | |
var url = document.referrer; |