WordPress.org

Support

Support » Plugins and Hacks » Contact Form 7 » [Resolved] Redirect upon submit

[Resolved] Redirect upon submit

  • Sticks101

    @sticks101

    Trying to utilize the script from Contact7 website for redirect: on_sent_ok: “location = ‘http://example.com/’;”\

    It’s not working regardless of what URL I use. Trying to have the form info emailed to one address while redirecting them to another page.

    Ideas? Help?

    Sticks 101

    http://wordpress.org/extend/plugins/contact-form-7/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Takayuki Miyoshi

    @takayukister

    Hi its very easy, just put your desired url in the Additional Settings box

    on_sent_ok: “location = ‘http://example.com/’;”

    Remember you should include footer function in footer.php, otherwise it will not work.

    Second solution is to change the coding in plugin file
    Hope it will help you.

    I am having the same problem.
    Footer function is there, the ajax is working too.

    The form seems to work but I get my confirmation message on the same page instead of redirecting to my wordpress page.

    And here is what I’ve added in the additional settings:
    on_sent_ok: “location = ‘http://www.isosante.com/merci-inscription’;”

    Found the problem. It was a conflict with another plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Redirect upon submit’ is closed to new replies.
Skip to toolbar