• Using 5.16 version. The redirection has stopped working suddenly.

    The following code is added for redirection but not working.

    <script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    var a = document.getElementById(“job-opening-form-name”).value;
    var url = ‘https://www.peppersquare.com/careers/thank-you/?’+a;
    if ( ‘1281’ === event.detail.contactFormId ) {
    location = url;
    }
    }, false);
    </script>

    Your help is highly appreciated.

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

Viewing 15 replies - 1 through 15 (of 20 total)
Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Redirection not working’ is closed to new replies.