• Resolved Rudolph Smits

    (@rudolph-smits)


    With CF7 Redirect version 2.5.0. there were no problems, the redirect worked fine.
    Updating to version 2.6.0. stopped this however. After sending the form you will receive the standard message “form has been send”.

    I have read this page:
    https://contactform7.com/redirecting-to-another-url-after-submissions/

    I am using theme Twenty Seventeen. I am not sure in which file to add the code. Can anyone give me a clue?

    <script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    location = ‘https://example.com/’;
    }, false );
    </script>

    Thanks in advance,
    Rudolph Smits, Netherlands

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Thread Starter Rudolph Smits

    (@rudolph-smits)

    I tried to put it in the functions.php in Twenty-Seventeen child. That did not work.

    Then I added it in the booking-page itself. That did the work.

    So for me: issue resolved.

Viewing 1 replies (of 1 total)
  • The topic ‘CF7 Redirect version 2.6.0. stopped working’ is closed to new replies.