URL redirect isn't working
-
I am trying to have Contact Form 7 redirect to another URL after form submission. My understanding is that the code is added to the Additional Settings area. Here is my setup for testing purposes:
Additional Settings:
on_sent_ok: “location = ‘https://google.com/’;”
OR I’ve also tried this:
on_sent_ok: “location.replace ( ‘https://google.com/’);”Here’s the URL to the form:
http://www.trustingyouareloved.com/formIt submits correctly with “Your message was sent successfully. Thanks.” in a green box, but this is the URL I end up on instead of Google
http://www.trustingyouareloved.com/form/#wpcf7-f754-p757-o1Can anyone help? I can’t figure out why it isn’t working.
The topic ‘URL redirect isn't working’ is closed to new replies.