<?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: Pre-Populate hidden field with referral information / the previous URL</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-hidden-field-with-referral-information-the-previous-url</link>
		<description>Gravity Support Forums Topic: Pre-Populate hidden field with referral information / the previous URL</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:36:40 +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/pre-populate-hidden-field-with-referral-information-the-previous-url" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Pre-Populate hidden field with referral information / the previous URL"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-hidden-field-with-referral-information-the-previous-url#post-49633</link>
			<pubDate>Thu, 16 Feb 2012 17:46:38 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">49633@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, leanderb,&#60;/p&#62;
&#60;p&#62;I have a few questions. &#60;/p&#62;
&#60;p&#62;Do you already have the domain/URL and are passing &#34;referral&#34; in the querystring to your form?&#60;br /&#62;
Where do you want the domain/URL stored, with the entry?&#60;br /&#62;
Is it only supposed to be visible in the admin?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leanderb on "Pre-Populate hidden field with referral information / the previous URL"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-hidden-field-with-referral-information-the-previous-url#post-49423</link>
			<pubDate>Tue, 14 Feb 2012 14:29:57 +0000</pubDate>
			<dc:creator>leanderb</dc:creator>
			<guid isPermaLink="false">49423@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey there!&#60;/p&#62;
&#60;p&#62;I am busy using the forms and would love to have a destinct feature: &#60;/p&#62;
&#60;p&#62;I want to have a kind of &#34;referral-system&#34; incorporated with my order-form. This means essentially, that I want to know which domain/URL the User came from before filling out my form. I know this can be done with GA &#38;amp; goals similarly, but I am looking for a more convenient way, giving me all the information upon reading the (future) client's request.&#60;/p&#62;
&#60;p&#62;I already tried a little jQuery-script (see &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/previous-url-post-into-field)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/previous-url-post-into-field)&#60;/a&#62; but either it is &#34;printed&#34; into the first visible field (input:eq(0) - I tried admin-only without any luck) or not working (when using the CSS-workaround, both admin-only and hidden).&#60;/p&#62;
&#60;p&#62;Looking forward to some insights here. Thanks in advance!&#60;/p&#62;
&#60;p&#62;&#60;hr /&#62;&#60;/p&#62;
&#60;p&#62;For reference, this is my CSS-edit (placed in header.php) - maybe there is an error and it would all work out the way I intended?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script&#38;gt;
jQuery(document).ready(function() {
    var referral = &#38;quot;&#38;lt;?= urldecode($_GET[&#38;#39;referral&#38;#39;]); ?&#38;gt;&#38;quot;;
    jQuery(&#38;#39;.gform_wrapper .referral&#38;#39;).val(referral);
});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
