Support » Plugin: Contact Form 7 » [Plugin: Contact Form 7] Form redirect after submit

  • 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/

  • The topic ‘[Plugin: Contact Form 7] Form redirect after submit’ is closed to new replies.