Contact Form 7
[resolved] custom thank you page on different forms id (3 posts)

  1. Majklas
    Posted 4 years ago #

    thank You for a great plugin (besides those hacks below;) !!!

    The thing I want to do is have a custom "thank you" page on a custom form.
    I create several forms with different id's, but I can't separate them like

    if form id=5896{
    on_sent_ok: location:(blah.com)}
    elseif form id=23 {
    on_sent_ok: location:(blah.com)}
    elseif form id=9878 {
    on_sent_ok: location:(blah.com)}

    It this possible to get by not moding the code? (after the update it'll be gone) Also, please let me know the right syntax of that additions settings coding language..

    Looking forward,


  2. Majklas
    Posted 4 years ago #

    my mistake.. must have a break. It's ok now, different forms have different settings :)

  3. aquaclearws
    Posted 4 years ago #

    did you get the individual on_sent_ok hooks to actually load the correct thank you page URLs?

    can you share your exact Additional Settings code, the thank you page's Permalink URL from the wordpress editor page, and the actual URL from your browser after you push send on the form and are on the thank you page?

    I'm trying to make sure I have those 3 URLs exactly matching and coded/syntaxed correctly. Thank you!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic