WordPress.org

Forums

Contact Form 7
Export values to redirect page (1 post)

  1. potrobin
    Member
    Posted 3 years ago #

    We have the function to add to the theme's functions.php:

    function set_sessions($cf7){
    $_SESSION['formdata'] = $cf7->posted_data;
    return false;
    }

    add_action( 'wpcf7_before_send_mail', 'set_sessions' );

    which will preserve the form results after submission.

    How do we insert three or four values (i.e., [book-name], [chapt-name], [vers-name]) into the page CP7 redirects to upon submission. We don't seem to use the same tags as in the confirmation emails. Thanks

    http://wordpress.org/extend/plugins/contact-form-7/

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