Support » Plugin: Popups - WordPress Popup » Popup only appearing on first form submission

  • Resolved mcleanap

    (@mcleanap)



    I am using this plugin with Contact Form 7. I am getting the popup when email is sent, and it does work, however, if I fill the form again on the same page, and submit again, it activates the background (modal), but the popup does not display.

    function messageSent() {
    ?>
    <script type=”text/javascript”>
    document.addEventListener( ‘wpcf7mailsent’, function( event ) {
    if ( ‘1306’ == event.detail.contactFormId ) {
    SPU.show( 1319 );
    }

    }, false );
    </script>
    <?php
    }

    Any ideas?

Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Popup only appearing on first form submission’ is closed to new replies.