<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: WordPress Contact Form 7 &#8211; Intelligent Thank you pages</title>
	<atom:link href="http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-contact-form-7-intelligent-thank-you-pages</link>
	<description>The Online Marketing People</description>
	<lastBuildDate>Tue, 02 Apr 2013 13:35:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
	<item>
		<title>By: James Sims</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1486</link>
		<dc:creator>James Sims</dc:creator>
		<pubDate>Thu, 24 Jan 2013 16:26:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1486</guid>
		<description>Please see my edit above, you might need to initialise the session first.</description>
		<content:encoded><![CDATA[<p>Please see my edit above, you might need to initialise the session first.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Sims</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1485</link>
		<dc:creator>James Sims</dc:creator>
		<pubDate>Thu, 24 Jan 2013 16:23:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1485</guid>
		<description>Hi Andrea, that&#039;s right. An easy way to discover the keys for all the data you have is to put the whole posted_data array into the session, then do a print_r() of that somewhere else. 

You should also ensure that you actually have a session open, as WordPress doesn&#039;t do this automatically. 

To do this, add the following to your wp_config file: 

/**
 * Enable sessions
 */
if (!session_id())
    session_start();</description>
		<content:encoded><![CDATA[<p>Hi Andrea, that&#8217;s right. An easy way to discover the keys for all the data you have is to put the whole posted_data array into the session, then do a print_r() of that somewhere else. </p>
<p>You should also ensure that you actually have a session open, as WordPress doesn&#8217;t do this automatically. </p>
<p>To do this, add the following to your wp_config file: </p>
<p>/**<br />
 * Enable sessions<br />
 */<br />
if (!session_id())<br />
    session_start();</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrea Moro</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1471</link>
		<dc:creator>Andrea Moro</dc:creator>
		<pubDate>Mon, 17 Dec 2012 13:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1471</guid>
		<description>Hi there,

thanks for your solution. However, I wonder if you can tell me what should I use instead of the [&#039;menu-848&#039;] as I&#039;m sure this is specific for your form.

Is that the form ID enclosed in brackets and visible only in the admin panel?

Thanks for your answer.
Andrea</description>
		<content:encoded><![CDATA[<p>Hi there,</p>
<p>thanks for your solution. However, I wonder if you can tell me what should I use instead of the ['menu-848'] as I&#8217;m sure this is specific for your form.</p>
<p>Is that the form ID enclosed in brackets and visible only in the admin panel?</p>
<p>Thanks for your answer.<br />
Andrea</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pushonltd</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1380</link>
		<dc:creator>pushonltd</dc:creator>
		<pubDate>Thu, 19 Jul 2012 09:29:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1380</guid>
		<description>Hi Imkiss, I think you&#039;ve got the right idea with using javascript for this, I&#039;d say you need to use the session to store the data, and then javascript to fill in the second form. Once you have it stored in the session try this code on the template file of your second form:


  $(function() {
    $(&quot;input#yourinput&quot;).val(&quot;&quot;);
  });


If you are having trouble with that, this page might help: http://api.jquery.com/val/#val2</description>
		<content:encoded><![CDATA[<p>Hi Imkiss, I think you&#8217;ve got the right idea with using javascript for this, I&#8217;d say you need to use the session to store the data, and then javascript to fill in the second form. Once you have it stored in the session try this code on the template file of your second form:</p>
<p>  $(function() {<br />
    $(&#8220;input#yourinput&#8221;).val(&#8220;&#8221;);<br />
  });</p>
<p>If you are having trouble with that, this page might help: <a href="http://api.jquery.com/val/#val2" rel="nofollow">http://api.jquery.com/val/#val2</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James Sims</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1379</link>
		<dc:creator>James Sims</dc:creator>
		<pubDate>Thu, 19 Jul 2012 09:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1379</guid>
		<description>Hey Arnold, on your thank you page try this code:  This should show you all the data that has been stored in the session. If it&#039;s called country it would be something along the lines of $_SESSION[&#039;formdata&#039;][&#039;country&#039;]. If you&#039;re still stuck post back here and we will get it sorted out!</description>
		<content:encoded><![CDATA[<p>Hey Arnold, on your thank you page try this code:  This should show you all the data that has been stored in the session. If it&#8217;s called country it would be something along the lines of $_SESSION['formdata']['country']. If you&#8217;re still stuck post back here and we will get it sorted out!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: arnold</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1349</link>
		<dc:creator>arnold</dc:creator>
		<pubDate>Mon, 28 May 2012 05:30:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1349</guid>
		<description>Hi, I&#039;ve put this on my functions.php page on my template but I can&#039;t seem to retrieve the values on the thank you page after the form is posted. 

Maybe it is my lack of PHP knowledge but how do I display the value of the session on my thank you page? E.g. if the textfield on the contact form is called &quot;country&quot;, how would I display this value on the thank you page after submission?</description>
		<content:encoded><![CDATA[<p>Hi, I&#8217;ve put this on my functions.php page on my template but I can&#8217;t seem to retrieve the values on the thank you page after the form is posted. </p>
<p>Maybe it is my lack of PHP knowledge but how do I display the value of the session on my thank you page? E.g. if the textfield on the contact form is called &#8220;country&#8221;, how would I display this value on the thank you page after submission?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1076</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Thu, 02 Feb 2012 16:49:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1076</guid>
		<description>Great Tip! Thank You!</description>
		<content:encoded><![CDATA[<p>Great Tip! Thank You!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imkiss</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1075</link>
		<dc:creator>Imkiss</dc:creator>
		<pubDate>Mon, 24 Oct 2011 11:06:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1075</guid>
		<description>Hi!

Just a quick note to say after many hours... AND THANKS TO YOUR PAGE... I created my own modified solution using SESSIONS and it worked GREAT.


Big thanks!</description>
		<content:encoded><![CDATA[<p>Hi!</p>
<p>Just a quick note to say after many hours&#8230; AND THANKS TO YOUR PAGE&#8230; I created my own modified solution using SESSIONS and it worked GREAT.</p>
<p>Big thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Imkiss</title>
		<link>http://www.pushon.co.uk/blog/wordpress-contact-form-7-intelligent-thank-you-pages/#comment-1074</link>
		<dc:creator>Imkiss</dc:creator>
		<pubDate>Mon, 24 Oct 2011 09:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.pushon.co.uk/?p=5074#comment-1074</guid>
		<description>Hi.. This is exactly what I am looking for!

I want to take a couple of form fields in CF7 (contact form 7) submitted on ONE form... and store them on submit to auto-populate the NEXT form in a couple of places.

So when email and firstname is submitted.... it jumps to another form with more fields like address etc... but the email and first name is already filled out.

I have the &quot;CATCHING&quot; form al ready to receive the variables from the GET string to auto populate...and it works.... but I can NOT (for the life of me!) figure out how to take those submitted vars and pass them into the GET string to that page!

I tried for MANY hours to use Javacript in this way....
on_sent_ok: &quot;var email = document.getElementById(&#039;email&#039;); location = &#039;/application?email=&#039;+email.value;&quot;

But it JUST DOESNT WORK... so I thought &quot;maybe&quot; I could store them in a session and retrieve them at the next page some how.

It&#039;s driving me crazy.

Please advise if you can. I would be most grateful!</description>
		<content:encoded><![CDATA[<p>Hi.. This is exactly what I am looking for!</p>
<p>I want to take a couple of form fields in CF7 (contact form 7) submitted on ONE form&#8230; and store them on submit to auto-populate the NEXT form in a couple of places.</p>
<p>So when email and firstname is submitted&#8230;. it jumps to another form with more fields like address etc&#8230; but the email and first name is already filled out.</p>
<p>I have the &#8220;CATCHING&#8221; form al ready to receive the variables from the GET string to auto populate&#8230;and it works&#8230;. but I can NOT (for the life of me!) figure out how to take those submitted vars and pass them into the GET string to that page!</p>
<p>I tried for MANY hours to use Javacript in this way&#8230;.<br />
on_sent_ok: &#8220;var email = document.getElementById(&#8216;email&#8217;); location = &#8216;/application?email=&#8217;+email.value;&#8221;</p>
<p>But it JUST DOESNT WORK&#8230; so I thought &#8220;maybe&#8221; I could store them in a session and retrieve them at the next page some how.</p>
<p>It&#8217;s driving me crazy.</p>
<p>Please advise if you can. I would be most grateful!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Object Caching 550/594 objects using disk: basic

Served from: www.pushon.co.uk @ 2013-05-24 07:03:57 -->