• Resolved berticoyote

    (@berticoyote)


    Hello,

    I have a small question about using the Contact From 7 plugin:
    I would like to know if to the validation of the form, instead of having a message of type “your message has been sent”, it is possible to refer to an independent URL which would serve as a thank you page.
    And if so how to integrate it into my form

    Thank you for your answers

    Rémi

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    First I would like to say how great your CF7 plugin is and that other developers make plugins that work with it is a testament to that.

    However I am not a programmer nor do I pretend to be one and the planned changes has me worried.

    Why are you removing/abolishing the ‘on_sent_ok’ hook method (seems to work well for me)?

    If you must remove the ‘on_sent_ok’ hook, why are you not making it easier on us by having something like ‘aftersubmiturl=’ in the short code?

    I don’t like coding/modifying WordPress files, I like to be able to do everything from the safety of the dashboard. Modifying templates runs the risk of breaking things or creating security issues and/or having all your hard work removed on an update (if you don’t know how to create a child theme, learned that one painfully in my early years of WordPress).

    I tried to use XYZ HTML Snippets to insert the ‘document.addEventListener’ script to no avail. I assume because it has to be placed somewhere special like the page header or something? A better in-depth instructions in the documentation for us code challenged people would be nice.

    To sum it up please keep the ‘on_sent_ok’ hook or have the ability to set the URL redirect in the short code or at least something that does not require hacking ones WordPress install.

    FYI: Why is the ‘on_sent_ok’ hook is so important to me? I have a couple main reasons – I use your CF7 plugin to collect extra information before sending them to a payment portal and/or as a multi part/page form.

    Thread Starter berticoyote

    (@berticoyote)

    Thanks a lot for your answer @takayukister
    It’s exactly what I was looking for.

    Great

    Rémi

    Thread Starter berticoyote

    (@berticoyote)

    Sorry but I’ve another question in the same order.
    I’ve to install an Adwords Tracking code on my site (and not a Google Analytic tracking code), especialy on the form page.
    Is it the same way you explain here : https://contactform7.com/tracking-form-submissions-with-google-analytics/ ?
    Is it possible ?
    Thanks

    I find this plugin is good for redirects: https://www.ads-software.com/plugins/wpcf7-redirect/

    Thread Starter berticoyote

    (@berticoyote)

    Thanks a lot !…
    It works perfectly !… exactly what I was looking for !
    Really great

    The plugin is severely out of date. User beware.

    I’ve tried putting the script in the documentation (https://contactform7.com/redirecting-to-another-url-after-submissions/) both on the page with my form, and in the form “additional settings.” Neither works.

    For those who got it working, what did you do?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘URL REDIRECTION’ is closed to new replies.