Making contact form 7 open in new windows on submission ?

The best way to make CF7 open in new page on submission, you can you the following code by adding it at the additional setting section in the contact ( you will find it at the bottom of the contact form )


on_sent_ok: "location.replace('http://website.com');"

References :
http://contactform7.com/redirecting-to-another-url-after-submissions/

http://wordpress.org/support/topic/plugin-contact-form-7-redirect-to-thank-you-page-on-submit?replies=23

Advertisements
Leave a comment

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: