WordPress.org

Ready to get started?Download WordPress

Forums

Contact Form 7
Pass Values from 1 form to another (1 post)

  1. ngoodfellow
    Member
    Posted 1 year ago #

    I'm trying to redirect values from one form to another

    I have added the following code to the first form:

    on_sent_ok: "location.replace('http://website.com/redirect-page/?your-name='+jQuery('#your-name').val()+'');"

    Then I installed the dynamic text extension
    http://wordpress.org/extend/plugins/contact-form-7-dynamic-text-extension/
    and added the following on the second form:

    [dynamictext* your-name "CF7_GET key='your-name'"]

    it wants to work, however it come back with "undefined"

    Takayuki mentions a way to fix this issue here:
    http://wordpress.org/support/topic/plugin-contact-form-7-conditional-redirect?replies=15#post-1683148

    However with the latest update of Contact Form 7 this appears to not be working properly. Any idea on how to make this work with the latest version would be much appreciated!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic