• Resolved nicoolass

    (@nicoolass)


    Hello,

    The redirection after form’s submit with javascript addEventListener seems not working.
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    if ( “form_id” == event.detail.contactFormId ) {
    location = “<?php echo esc_url( home_url( ” ) ); ?>/success-page/”;
    }
    }
    Do you have noticed this issue ? Is there a solution ?

    Thank you

    Best regards,
    Nicolas

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Bruce

    (@ninjateamwp)

    Hi @nicoolass ,

    Thanks for using CF7 Multistep plugin, I will consult developers about this and so, please allow me some time to get back to you with a feedback in this case.

    Thank you.

    Kind regards,
    -Bruce-

    Plugin Support Bruce

    (@ninjateamwp)

    Hi @nicoolass ,

    We have checked this case and did not see that error, so I suggest that you make sure to update to the latest version of the plugin and then clear your website’s cache, check again and let us know if you still need assistance.

    Thank you.

    Kind regards,
    -Bruce-

    Thread Starter nicoolass

    (@nicoolass)

    Hi @ninjateamwp,

    Thank you for your time and your answer.
    I have just tested this morning and it’s working !
    Maybe a cache problem as you said, I already have the latest version installed.

    Best regards,
    Nicolas

    Plugin Author Ninja Team

    (@ninjateam)

    Thanks for the update @nicoolass, I am so glad that it’s working for you. I hope you can leave the plugin a nice review.

    Best regards,
    Kelly

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Javascript Event Redirection’ is closed to new replies.