WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Form redirect after submit (1 post)

  1. Dinesh Kesarwani
    Member
    Posted 2 years ago #

    In CF7 we use the below code to redirect, after form submit.
    on_sent_ok: "location.replace('http://www.YOURSITE.com');"

    I am redirecting multiple pages using multiple forms with same form structure. Like :
    Page 1 => Form with Name, URL and Message => http://www.url-1.com
    Page 2 => Form with Name, URL and Message => http://www.url-2.com
    Page 3 => Form with Name, URL and Message => http://www.url-3.com

    It is possible to add the code like below in all pages with separate redirection url.
    Page 1 => [contact-form-7 id="1" title="Form-1" redirect="www.url-1.com"]
    Page 2 => [contact-form-7 id="1" title="Form-1" redirect="www.url-2.com"]
    Page 3 => [contact-form-7 id="1" title="Form-1" redirect="www.url-3.com"]

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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by Dinesh Kesarwani
  • This topic is not resolved
  • WordPress version: 3.3.1