I am trying to figure out how to have one particular contact form redirect to a URL
Per Contact Form 7 instructions, I am to insert the following JavaScript in the appropriate place. I’m just not sure what teh “appropriate” place is.
I added the following on the actual page.
I will send my credentials following this post.
document.addEventListener( ‘wpcf7submit’, function( event ) {
if ( ‘3138’ == event.detail.contactFormId ) {
alert( “The contact form ID is 3138.” );
// do something productive
}
}, false );