• Resolved Gloria Liuni

    (@glorialchemica)


    Hi, I inserted the script from the documentation to have the redirection to a customised thankyou page.
    This is the code:

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

    I need to exclude the redirection of a form (different from other forms) embedded in a certain page.
    How can I modify the script?

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Redirection excluding a page’ is closed to new replies.