<?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: Different default value of a field depending on the referrer?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer</link>
		<description>Gravity Support Forums Topic: Different default value of a field depending on the referrer?</description>
		<language>en-US</language>
		<pubDate>Fri, 24 Apr 2026 09:41:00 +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/different-default-value-of-a-field-depending-on-the-referrer" rel="self" type="application/rss+xml" />

		<item>
			<title>adrien on "Different default value of a field depending on the referrer?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer#post-2764</link>
			<pubDate>Sat, 16 Jan 2010 12:19:46 +0000</pubDate>
			<dc:creator>adrien</dc:creator>
			<guid isPermaLink="false">2764@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Alex,&#60;/p&#62;
&#60;p&#62;It works like a charm. Thank you very much.&#60;/p&#62;
&#60;p&#62;Best Greetings from Montreal!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Different default value of a field depending on the referrer?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer#post-2702</link>
			<pubDate>Wed, 13 Jan 2010 16:25:01 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">2702@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Adrien,&#60;br /&#62;
You can set the the selected value of a drop down based on a query string parameter. Try the following:&#60;br /&#62;
1- In the form editor, select your drop down field, go to the advanced tab and check the &#34;Allow field to be populated dynamically&#34; field. Enter a parameter name for it (i.e. mydropdown)&#60;br /&#62;
2- When linking to the page/post that has the form, create your url passing the value you want selected in the quey string. For example, if you have an item in your drop down called &#34;Cars&#34;, you would use the following url: &#60;a href=&#34;http://your_url.com/my-page/?mydropdown=Cars&#34; rel=&#34;nofollow&#34;&#62;http://your_url.com/my-page/?mydropdown=Cars&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adrien on "Different default value of a field depending on the referrer?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer#post-2698</link>
			<pubDate>Wed, 13 Jan 2010 15:30:56 +0000</pubDate>
			<dc:creator>adrien</dc:creator>
			<guid isPermaLink="false">2698@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Carl. I thought that would be possible to add a PHP parameter on the URL where the form is. The default value of the drop down would be taken depending on the value of the parameter. How does this sound?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Different default value of a field depending on the referrer?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer#post-2657</link>
			<pubDate>Tue, 12 Jan 2010 16:47:08 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">2657@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I will have to test and see if this is possible.  It is possible to set the default value of a field using PHP, but I need to look into how to set the default value of a DROP DOWN and if it is possible with the existing API hooks.  I'll keep you posted.  It might be tomorrow before I can get back with you on this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>adrien on "Different default value of a field depending on the referrer?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/different-default-value-of-a-field-depending-on-the-referrer#post-2653</link>
			<pubDate>Tue, 12 Jan 2010 16:15:12 +0000</pubDate>
			<dc:creator>adrien</dc:creator>
			<guid isPermaLink="false">2653@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Here is a &#34;simple&#34; thing I want my form to do. I want the default value of the 5th visible field of the form accessible below (which is a drop down)  to be different depending on the page the person came from.&#60;br /&#62;
&#60;a href=&#34;http://b-unique.ca/adwords/contact/&#34; rel=&#34;nofollow&#34;&#62;http://b-unique.ca/adwords/contact/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Any idea on how to do this?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;- Adrien O'Leary
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
