WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Redirecting to Another URL After Submissions (3 posts)

  1. melanie71
    Member
    Posted 1 year ago #

    Hi
    I am using the info found here http://contactform7.com/redirecting-to-another-url-after-submissions/ which works great, I just don't want the visitor to leave the original website completely. Just wondering if anyone knows how to amend the code so that the redirect opens in a new window?
    Thank you!

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

  2. melanie71
    Member
    Posted 1 year ago #

    Thanks ... I tried that but it didn't work - the form was still sent, but the redirect didn't work.
    The code provided is on_sent_ok: "location = 'http://example.com/';" so I can only guess I didn't put the target blank code in quite the right spot - any ideas?

  3. waterwalk
    Member
    Posted 1 year ago #

    Hi, I'm facing a stiff deadline and the redirect code does not work for me. This is such a basic request and there are many reasons to have a 'thank you' page. In our instance we need to provide them HTML links after submitting the form and direct them to the next step. Has anyone gotten this to work? I'm just surprised they wouldn't have built this into the plugin. OR does anyone have another plugin they like that does the same type of thing but includes redirect functionality? Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic