<?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 Populating Drop Down Fields with</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-drop-down-fields-with</link>
		<description>Gravity Support Forums Topic: Dynamically Populating Drop Down Fields with</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 23:23: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/dynamically-populating-drop-down-fields-with" rel="self" type="application/rss+xml" />

		<item>
			<title>David Carroll on "Dynamically Populating Drop Down Fields with"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-drop-down-fields-with#post-50686</link>
			<pubDate>Mon, 27 Feb 2012 12:48:04 +0000</pubDate>
			<dc:creator>David Carroll</dc:creator>
			<guid isPermaLink="false">50686@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could. However, to do so would require extending the logic in the function that renders the select boxes, as seen in the file:&#60;/p&#62;
&#60;p&#62;    /wp-content/plugins/gravityforms/common.php&#60;/p&#62;
&#60;p&#62;Specifically, the switch case matching &#34;select&#34; in the function:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;public static function get_field_input($field, $value=&#38;quot;&#38;quot;, $lead_id=0, $form_id=0)&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;and possibly the function that renders the &#38;lt;options&#38;gt; tags:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;public static function get_select_choices($field, $value=&#38;quot;&#38;quot;)&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ignitionmedia on "Dynamically Populating Drop Down Fields with"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-populating-drop-down-fields-with#post-46992</link>
			<pubDate>Fri, 20 Jan 2012 12:46:40 +0000</pubDate>
			<dc:creator>ignitionmedia</dc:creator>
			<guid isPermaLink="false">46992@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This post is fantastic - &#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;, but I'm wondering if there's a way to group the options in &#38;lt;optgroups&#38;gt;? &#60;/p&#62;
&#60;p&#62;It would be handy to be able to pass an array of arrays. i.e. array['MyHeading']['opt 1', 'opt2', 'opt3'];&#60;/p&#62;
&#60;p&#62;thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
