Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter derek.bess

    (@derekbess-1)

    I would have edited the post instead of bumping if you guys had a “edit” post button. I’m going to find a freelancer to complete the project. You can close this thread now… again, I would do it myself if you had a button to close the thread.

    Plugin Author sevenspark

    (@sevenspark)

    You’d need to store the data in a cookie to do that.

    Thread Starter derek.bess

    (@derekbess-1)

    This has been resolved with adding in our own custom shortcode and creating a session within functions.php file.

    Derek,

    How did you accomplish this? I am trying to pass the data entered in the first name, last name, email and telephone fields on the mini form at http://dforbesinsuranceagency.com to the longer form on http://dforbesinsuranceagency.com/request-free-insurance-quotes/ but I can’t for the life of me figure out how.

    Any help would be much appreciated.

    Best,

    Cynthia

    Cynthia, I have been successful in passing the previous page title to the form page. This is how I did it:
    1. As Derek has said, you must enable WordPress to create sessions: I found this site very useful:
    http://www.myguysolutions.com/2010/04/14/how-to-enable-the-use-of-sessions-on-your-wordpress-blog/

    2. On the referring page, (using a plugin that allows PHP in posts) store the required information in a session variable: [php]$_SESSION[‘referringTitle’]=$_SESSION[‘title’];[/php]

    3. On the receiving page: echo the variable:
    [php]echo $_SESSION[‘referringTitle’];[/php]

    The only thing is, I can make the previous page title appear on the page but I can’t then work out to then put it into a custom field that I can send with all the other form data. I don’t understand the instructions.

    Can anyone help with this last step?

    thanks
    Viv

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: Contact Form 7 Dynamic Text Extension] Passing URL variables from one page to another’ is closed to new replies.