<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.1" -->
<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">
	<channel>
		<title>Gravity Support Forums Topic: Trying to get variable from form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form</link>
		<description>Gravity Support Forums Topic: Trying to get variable from form</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 15:23:24 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.1</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>https://legacy.forums.gravityhelp.com/search.php</link>
		</textInput>
		<atom:link href="https://legacy.forums.gravityhelp.com/rss/topic/trying-to-get-variable-from-form" rel="self" type="application/rss+xml" />

		<item>
			<title>TiborP on "Trying to get variable from form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form#post-5998</link>
			<pubDate>Wed, 02 Jun 2010 14:23:01 +0000</pubDate>
			<dc:creator>TiborP</dc:creator>
			<guid isPermaLink="false">5998@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I guess I just have to code my own form that uses POST as a method then.&#60;/p&#62;
&#60;p&#62;Thanks again for taking the time to explain!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Trying to get variable from form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form#post-5955</link>
			<pubDate>Tue, 01 Jun 2010 16:25:41 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">5955@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms posts it's information to itself and processes the data.  It then displays the confirmation page OR redirects to a page or URL of your choosing. &#60;/p&#62;
&#60;p&#62;If you need that redirect page to have access to the form field data you need to pass that data to the confirmation page using query string parameters to pass data to it.  This is found under the Confirmation tab of the form settings and then choose to pass data to the form and then construct your query string.&#60;/p&#62;
&#60;p&#62;That is how you get data that is posted, however you are trying to get data that is no longer available at the point you are trying to implement that.  So you'd have to do it another way via passing the data via the query string.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>TiborP on "Trying to get variable from form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form#post-5948</link>
			<pubDate>Tue, 01 Jun 2010 12:49:04 +0000</pubDate>
			<dc:creator>TiborP</dc:creator>
			<guid isPermaLink="false">5948@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thx Carl. I am sorry, but I made a mistake in my explanation...&#60;/p&#62;
&#60;p&#62;As far as I understood from &#60;a href=&#34;http://www.w3schools.com/PHP/php_get.asp&#34; rel=&#34;nofollow&#34;&#62;this&#60;/a&#62; article,  if GET is used, it should be possible to echo out the data from the form with:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php echo $_GET[&#38;quot;input&#38;quot;]; ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;That's what I've tried with the Gravity Form (so not POST, as I mentioned in the earlier post), but that doesn't seem to work?&#60;/p&#62;
&#60;p&#62;To be a bit more clear (hopefully): I need the field input to construct a URL to load something in an iFrame on the next page.&#60;/p&#62;
&#60;p&#62;Thx in advance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Trying to get variable from form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form#post-5941</link>
			<pubDate>Tue, 01 Jun 2010 11:44:48 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">5941@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When passing data via query string it is going to do so via GET, not post.  Query string actions are done using the GET method which is why it's showing up in the query string. So it isn't going to post the custom redirect data to your confirmation page, it's going to do so via GET by passing it in the query string.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>TiborP on "Trying to get variable from form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trying-to-get-variable-from-form#post-5935</link>
			<pubDate>Tue, 01 Jun 2010 06:55:49 +0000</pubDate>
			<dc:creator>TiborP</dc:creator>
			<guid isPermaLink="false">5935@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I am trying to do the following:&#60;/p&#62;
&#60;p&#62;I have a search form, from I want to sent the input (a search term) on to the next page, in which I need the variable.&#60;/p&#62;
&#60;p&#62;I use the form settings to send the input via query string on to the next (result) page. Although I can see in the source that it uses the &#34;post&#34; method, the query is still visible in the url., which I thought it should not do when using &#34;post&#34;.&#60;/p&#62;
&#60;p&#62;Also, when I try to use the variable by using:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#38;lt;?php echo $_POST[&#38;quot;input&#38;quot;]; ?&#38;gt;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;on the result page, I can see the result for a second, and then it disapears when the page is fully loaded.&#60;/p&#62;
&#60;p&#62;When I copy the source code and fill in the &#34;action&#34; parameter by hand, and then use that as a form, it does work as expected; I can echo out the result, and the query is not added to the url.&#60;/p&#62;
&#60;p&#62;Since I would like to track the form submissions I prefer using the plugin form, then the handcoded version though. Am I doing something wrong?&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
