Plugin incompatible with CF7 DOM events

Home Forums Jquery Validation for Contact Form 7 Plugin incompatible with CF7 DOM events

This topic contains 5 replies, has 2 voices, and was last updated by  Leah 3 days, 5 hours ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #7528 Reply

    Leah

    Hello,

    It appears that this plugin is in conflict with Contact Form 7’s DOM events.

    I have added the following event listener in my head:

    document.addEventListener( 'wpcf7mailsent', function( event ) {
        location = '/thank-you';
    }, false );

    When this plugin is active, it does not work. Once I deactivate this plugin, however, it works just fine.

    I also tested it with the wpcf7submit event.

    #7529 Reply

    Dinesh
    Keymaster

    Hi Leah,

    Do you get any sort of js error in Firefox console ?

    Thanks

    #7531 Reply

    Leah

    No errors in the console either before or on submit (checked in both Chrome and Firefox). The event handler simply doesn’t run.

    I do receive the email alerts and they go into our CRM just fine, and everything else about the plugin works great, it just seems to be DOM events that are conflicting.

    #7537 Reply

    Dinesh
    Keymaster

    Hi Leah,

    I will check this and send a new update asap.

    Thanks

    #7539 Reply

    Leah

    Thanks so much!

    #7681 Reply

    Leah

    Hey Dinesh,

    Any update on this? Is there any additional information that I can provide or troubleshooting that I can do on my end to help identify the issue?

    Thanks,
    Leah

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Plugin incompatible with CF7 DOM events
Your information: