<?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: Dynamically populate dropdown</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown</link>
		<description>Gravity Support Forums Topic: Dynamically populate dropdown</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:47:33 +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/dynamically-populate-dropdown" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56534</link>
			<pubDate>Wed, 25 Apr 2012 14:40:56 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56534@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here you go: &#60;a href=&#34;http://pastebin.com/QNqsScFf&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/QNqsScFf&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56463</link>
			<pubDate>Tue, 24 Apr 2012 20:57:29 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">56463@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sorry, we'll have to wait until Pastie bounces back. The code isn't handy to simply re-post somewhere else. If it's going to be a long while then we'll try to find another place to host those snippets. Apologies for any inconvenience.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dherman on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56449</link>
			<pubDate>Tue, 24 Apr 2012 17:55:34 +0000</pubDate>
			<dc:creator>dherman</dc:creator>
			<guid isPermaLink="false">56449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So I've been working away at it, but unfortunately pastie.org is down so I can't see what the completed code would look like in order to make comparisons against mine. Is there any way you could post the full code on pastebin or something for this tutorial?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dherman on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56435</link>
			<pubDate>Tue, 24 Apr 2012 16:59:39 +0000</pubDate>
			<dc:creator>dherman</dc:creator>
			<guid isPermaLink="false">56435@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have not, I'll give it a try. Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56429</link>
			<pubDate>Tue, 24 Apr 2012 16:49:46 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56429@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You don't have any values in that drop down to pre-select, which is one way of pre-populating a drop down. The other is a bit more detailed and seems to be the way you will want to go, have you seen this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56420</link>
			<pubDate>Tue, 24 Apr 2012 16:34:55 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56420@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you send me a WP Admin login to &#60;a href=&#34;mailto:rob@rocketgenius.com&#34;&#62;rob@rocketgenius.com&#60;/a&#62; so I can take a look? Please reference this post in your email.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dherman on "Dynamically populate dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populate-dropdown#post-56418</link>
			<pubDate>Tue, 24 Apr 2012 16:26:59 +0000</pubDate>
			<dc:creator>dherman</dc:creator>
			<guid isPermaLink="false">56418@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm trying to dynamically populate a dropdown box. Though I eventually hope to pull some values out of the WP DB, right now I can't even get the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_Dynamic_Population&#34; rel=&#34;nofollow&#34;&#62;hooks tutorial&#60;/a&#62; working using the default values.&#60;/p&#62;
&#60;p&#62;In the dropdown, dynamic population is checked with a parameter name of &#34;your_parameter&#34;.&#60;/p&#62;
&#60;p&#62;In functions.php, this code exists:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_field_value_your_parameter&#38;#39;, &#38;#39;my_custom_population_function&#38;#39;);
function my_custom_population_function($value){
    return &#38;#39;boom&#38;#39;;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;And yet, on &#60;a href=&#34;http://www.fourcornersevents.info/submit/&#34; rel=&#34;nofollow&#34;&#62;my form&#60;/a&#62;, the &#34;Venue&#34; dropdown (which the parameter is attached to) remains completely empty. What am I doing wrong?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
