• Resolved Marius

    (@mmichtus)


    hi, works great but i use:

    <script>
    document.addEventListener( 'wpcf7mailsent', function( event ) {
             if ( '2187' == event.detail.contactFormId ) {
        location = 'https://www.mydomain.com/thank-contacting-us/';
             }
    }, false );
    </script>

    to redirect after sent.

    after using your plugin redirect to a page after sent not working anymore, what i need to change?
    i have try to on/off “Send CF7 mail as usually” but is the same.

    thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Mário Valney

    (@mariovalney)

    Hi @mmichtus,how are you doing?

    I’ll make some tests and will provide a solution soon.
    By this time, can you provide the link to your CF7 if it’s available, please?

    Regards

    Plugin Author Mário Valney

    (@mariovalney)

    I tested here (“Send CF7 mail as usually” is off) and the event is fired.

    Maybe CF7 Id changed?

    Thread Starter Marius

    (@mmichtus)

    sorry, my mistake i have test this on staging (and i have removed the scripts from there). everthing works great. thank you for your time.

    Plugin Author Mário Valney

    (@mariovalney)

    It’s OK ??

    Thank you for your review.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘redirect to a page after sent’ is closed to new replies.