Contact Form 7
[resolved] Thank you page does not work (8 posts)

  1. pey22
    Posted 1 year ago #

    i need to redirect the user to a "thank you page" when the form submit successfully.
    i use this:
    on_sent_ok: "location.replace('http://www.examle.co.il/thanks.php');
    but it does not work.
    any help???


  2. Takayuki Miyoshi
    Plugin Author

    Posted 1 year ago #

  3. buzztone
    Posted 1 year ago #


    rather than
    on_sent_ok: "location = 'http://www.examle.co.il/thanks.php';"

    as shown in instructions at http://contactform7.com/redirecting-to-another-url-after-submissions/

    Could be Javascript Conflict as well - see Contact Form 7 Email Issues - there is a link there that covers Javascript Conflicts.

  4. pey22
    Posted 1 year ago #

    Hello and thanks for the quick reply
    i try to put this:
    on_sent_ok: "location = 'http://www.examle.co.il/thanks.php';"
    but still its not working and i saw in firebug i dont have Javascript Conflict. so any help???

  5. pey22
    Posted 1 year ago #

    OK now its good, it was Javascript Conflict that the firefox firebug did not show me the error. but chrome show me and i fixed it.
    Thanks all!!

  6. Achuwoky
    Posted 1 year ago #

    Pey I have the same problem.

    How can I fix it?

  7. pey22
    Posted 1 year ago #

    Hello Achuwoky
    Its specific case for each script, i cant know exactly what is the Javascript Conflict in your site but i suggest to you to turn off all your plugins that user javascript or jQuery also delete javascript or jQuery from your site if you have and then try to send the form.
    then turn on one by one the plugins and each time try to send the form.

  8. buzztone
    Posted 1 year ago #

    @pey22 - Glad you found that Javascript Conflict and solved your problem.

    Great to see you note that Javascript Conflicts can also occur with your WP theme as well as other plugins. We are seeing quite a few Javascript Conflict issues in this Forum that are caused by poorly written themes.

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