Dom event properties not working
-
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
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Dom event properties not working’ is closed to new replies.