<?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: Sending campaign variable to a for and from a form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/sending-campaign-variable-to-a-for-and-from-a-form</link>
		<description>Gravity Support Forums Topic: Sending campaign variable to a for and from a form</description>
		<language>en-US</language>
		<pubDate>Thu, 23 Apr 2026 05:36: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/sending-campaign-variable-to-a-for-and-from-a-form" rel="self" type="application/rss+xml" />

		<item>
			<title>danstramer on "Sending campaign variable to a for and from a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sending-campaign-variable-to-a-for-and-from-a-form#post-17350</link>
			<pubDate>Mon, 31 Jan 2011 18:22:31 +0000</pubDate>
			<dc:creator>danstramer</dc:creator>
			<guid isPermaLink="false">17350@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you David.&#60;br /&#62;
I'll give it a try and update.&#60;/p&#62;
&#60;p&#62;Dan
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Sending campaign variable to a for and from a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sending-campaign-variable-to-a-for-and-from-a-form#post-17316</link>
			<pubDate>Mon, 31 Jan 2011 14:35:53 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">17316@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Dan,&#60;/p&#62;
&#60;p&#62;Here is a start on this from a related support email exchange:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
I think the simplest way to handle this is to populate the current URL as a parameter on that link. For example, instead of the linking to &#34;http://yoururl.com/formpage/&#34; it would link to &#34;http://yoururl.com/formpage/?referrer=http://yoururl.com/currentpage/&#34;.&#60;/p&#62;
&#60;p&#62;Then on your Gravity Form, you can set up a hidden field and specify the dynamic population parameter to &#34;referrer&#34;. So now the URL is pulled from the query string and populated into the form.&#60;/p&#62;
&#60;p&#62;Last step is pasting this little snippet into your functions.php file making the changes specified in the comments:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1494357&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1494357&#60;/a&#62;
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Let me know how far you get with this and I can provide some assistance with any questions you have.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>danstramer on "Sending campaign variable to a for and from a form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/sending-campaign-variable-to-a-for-and-from-a-form#post-17290</link>
			<pubDate>Mon, 31 Jan 2011 04:23:00 +0000</pubDate>
			<dc:creator>danstramer</dc:creator>
			<guid isPermaLink="false">17290@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I have a campaign running which send the users to the gravity from.&#60;br /&#62;
When the user submits the form I would like to know if the user came from my campaign page or from an other place.&#60;br /&#62;
If he came from the campaign I would like to also send a string like this one:&#60;/p&#62;
&#60;p&#62;'http://adserver.adtech.de/pcsale/3.0/1141/0/0/0/BeaconId=9063;rettype=img;subnid=1;SalesValue=1.00;custom1=registration;custom2=&#38;lt;%=request(&#34;phone&#34;)%&#38;gt;'&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Dan
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
