WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Open confirmation page with message (1 post)

  1. tyggis
    Member
    Posted 3 years ago #

    I manage to get CF7 to open a new page after clicking the send button. I did this:

    Go to the file contact-form-7/scripts.js

    Insert the lines:
    if (1 == data.mailSent)
    {
    jQuery(data.into).find('form').resetForm().clearForm();
    location.href="http://skoleregner.no/kontakt/";
    ro.addClass('wpcf7-mail-sent-ok');

    Insted of:
    if (1 == data.mailSent)
    and the other two lines (dont remember them now).

    So now I want to put the text that was written into the CF7 form on thta confirmation page. That is the same text as in the emails that get sent. How can I do that?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic