redirecting deprecated settings are used
-
Hi Guys,
I am using the following code for redirecting user on form submit.
Additional Settings
on_sent_ok:”location.replace(‘https://www.redirecturl.com/thank-you/’);”
In the latest version i get this message:-
Deprecated settings are used.
Can you please let me know what the new code and hot to use it.
I followed this page:-
https://contactform7.com/redirecting-to-another-url-after-submissions/
<script> document.addEventListener( 'wpcf7mailsent', function( event ) { location = 'https://example.com/'; }, false ); </script>
Where do i add this code at.
I added this in Additional Settings but did not work for me.
Thanks
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘redirecting deprecated settings are used’ is closed to new replies.