• Hello all,

    I have added a code to my WordPress site to redirect my contact 7 form to my thank you page after the form has been sent. My problem is that I have 2 contact 7 forms and I only want 1 of the forms to redirect to the thank you page after. Does anyone know who I can adjust the code?

    The form I would like to redirect is called Contact and the page I don’t want to redirect is called Job Application Form.

    <script>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    location = ‘https://www.tgfsecurity.co.uk/thank-you/&#8217;;
    }, false );
    </script>

    Thanks in advance ??

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Help editing code’ is closed to new replies.