Support » Fixing WordPress » [Plugin: Contact Form 7] Success Page Forwarding

  • Hi,

    How can you simply forward completed forms to a success page? The green box isn’t cutting it for my site because I have a form that is very long. The people submitting the form re-submit the form because they do not know it has been submitted.

    I read another fix you had on this topic, however it conflicted with wp-super-cache… Any help would be greatly appreciated. I would just like to forward a completed form to a permalink page that explains that they submitted their form. I would also then be able to put other information on that page that can instruct the user other methods of contacting me.

    Thanks for the help


Viewing 8 replies - 1 through 8 (of 8 total)
  • bump for any ideas, alternative plug ins?

    Not supported in the current version.
    Hopefully Takayukister will look into this issue in the near future.

    This is a temporary hack that I did ’cause I have a very long form.

    hide the form on success – it’s confusing if the empty form is still there, especially if it’s taller than one screen.

    open contact-form-7.js
    under line 90 ( if (1 == data.mailSent) )

    var wpcfTheForm = document.getElementById('wpcf7-formid'); = ('none');

    Then add that id to the form
    Open wp-contact-form-7.php – line 914

    $form .= '<form action="' . $url . '" method="post" id="wpcf7-formid" class="wpcf7-form"' . $enctype . '>';

    You could also put some js that will forward to a success page in that same spot in contact-form-7.js if you wanted to do that…

    Does this work in firefox, safari, and the dreaded family of internet explorer (ie6-ie8)?

    I tried this….

    line 90:

    if (1 == data.mailSent) {
    window.location = "";

    It did not do anything.

    I also have the wp-super-cache plugin running.


    What other plugins are you running…? I still can not get this hack to work

    I have these running:


    window.location = “”;

    also do not work…

    I had two instances of jquery appearing. It was blocking me from changing anything in the .js file. By default it was going to the .php file.

    Thanks for the help everyone. Sorry for my mistakes. the hacks do seem to work.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Plugin: Contact Form 7] Success Page Forwarding’ is closed to new replies.