• bzness

    (@bzness)


    First i’ve deactivated reCaptcha because de form won’t submit.
    After that, the script i’ve made to redirect to another url stop working because the page refreshes and the script is not executed.

    Here is the script:

    document.addEventListener( ‘wpcf7mailsent’, function( event ) {

    location = ‘https://hidrogood.com.br/orcamento-obrigado-por-sua-solicitacao’;

    }, false );

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

Viewing 1 replies (of 1 total)
  • ziegel

    (@ziegel)

    @bzness,

    On first look, my first suspet is that wpcf7mailsent did not work for you, thus the script was not activated at all.

    Was the mail sent at all?

    You may also looks on the various new tickets about mail not being sent.

Viewing 1 replies (of 1 total)
  • The topic ‘wpcf7mailsent not working because of page refresh’ is closed to new replies.