Replies: 1
Hi!
I tried migrating to the new DOM Event method (instead of on_sent_ok). It works fine without the additional properties, but if I try your example
document.addEventListener( 'wpcf7submit', function( event ) {
if ( '123' == event.detail.contactFormId ) {
alert( "The contact form ID is 123." );
// do something productive
}
}, false );
(with relevant form ids) the contactFormId is undefined. Is this not completely implemented yet?
Cheers,
Andreas