• Resolved Sanjay

    (@rsclmumbai)


    HI,

    Has anyone got Facebook Messenger Checkbox plugin working with CF7?

    I’ve managed to get everything else in place, just cannot get to trigger the function call onSubmit of form button.

    I added the below code in the page <head> section, but did not help.

    <script>
    document.addEventListener( 'wpcf7mailsent', function( event ) {
        confirmOptIn();
    }, false );
    </script>

    This is the last bit of the puzzle left to get this working.

    Any help is appreciated.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Sanjay

    (@rsclmumbai)

    I tested with Autoptimized disabled and it seems to be working.
    Not sure where the issue may be but I’m just glad that its working.
    Best,

    Hey Sanjay;
    have a look at the browser console for JS errors, you might have to exclude some JS from AO JS optimization. There’s (generic) troubleshooting tips in AO’s FAQ that might help.

    have a nice weekend!
    frank

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Facebook Messenger > Checkbox Plugin’ is closed to new replies.