• First of all, I believe that this tip I’m writing on this post is not necessary for 99.99% of users and, actually, I don’t recommend using it. I’m writing this for the 0.01% of you, so you can ignore it if not necessary.

    This is what the author says. ??

    But as long as Contact Form has no Paypal connection, it’s usefull to make training courses’ order forms.

    Page 1:
    Reservation form
    Name, email, phone, etc.
    [SUBMIT]
    redirect to page 2

    Page 2:

    Paypal training cart. Pay here !
    (WordPress Simple Paypal Shopping Cart Plugin. Very nice)
    Paypal redirect to page 3.

    Page 3:

    Confirmation and thank you for your order.

    May be useful to someone more.

    https://www.ads-software.com/extend/plugins/contact-form-7/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Mooke

    (@mooke)

    Hi this is exactly what I am trying to achieve. How do you get the redirect to the next page setup???

    Thanks in advance.

    Thread Starter pikkabbu

    (@pikkabbu)

    Hi Mooke !

    I’m sorry, I was sure I told it in my post. Woops.

    At the very end of the contact form 7 setting, there’s a text area whose name is “additional settings” (or similar, my version is in spanish).

    There, you’ve to write the redirection instructions:

    on_sent_ok: "location.replace('here_comes_your_url_to_redirect_to');"

    I found it there: https://contactform7.com/redirecting-to-another-url-after-submissions/

    Happy if this can help. Almost everything I learned to do with WP is thanks to others users. ??

    Ask 4 more if needed.

    Mooke

    (@mooke)

    Thanks, makes perfect sense.

    karpediem

    (@karpediem)

    It doesn’t work for me with WP 3.5.1 and Contact Form 7 version 3.3.3 ;-(
    What are your version of WP and Contact Form 7 ? Thank you

    erjay_27

    (@erjay_27)

    it doesn’t work for me also . . any other idea . .??

    karpediem

    (@karpediem)

    For me it works now. In fact, I wrote the
    on_sent_ok: “location.replace(‘here_comes_your_url_to_redirect_to’);” in
    in the bad field => “additional header”, I hadn’t seen “additional settings” field :-((.
    Now I put it in “additional settings” field and it’s works correctly. I have nevertheless problem that I can’t make hooks work…

    Thread Starter pikkabbu

    (@pikkabbu)

    Karpediem.
    Great !

    Enjoy you day ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Why Redirecting to Another URL After Submissions’ is closed to new replies.