• hi

    thanks for the awesome plugin

    I am facing the issue while redirecting …

    the problem is event — “wpcf7mailsent” is not being detected in the following code

    I have placed the code in footer.php after wp_footer() just before </body> tag

    document.addEventListener( 'wpcf7mailsent', function( event ) {
        alert("hi");
        location = 'http://www.example.com/thank-you-page/';
    }, false );

    Can you please help

Viewing 1 replies (of 1 total)
  • I have got to the same problem and spent a day and tried different approached but none worked. Everything was fine before when I was using on_sent_ok in the settings.

Viewing 1 replies (of 1 total)
  • The topic ‘redirect not working’ is closed to new replies.