Event Listener for CF7 Submission - Brown Surfing

Event Listener for CF7 Submission

Posted on: May 26th, 2022
By: Efrain Lemus

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

setTimeout(function(){

closeRequestQuote();

}, 1500);

}, false );

Help Articles:

https://contactform7.com/dom-events/

https://contactform7.com/2017/06/07/on-sent-ok-is-deprecated/

Have any questions or comments? Write them below!


Leave a Reply

Your email address will not be published.