<?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: Auto Populate Drop Down using a List or an Array (gform_pre_render)</title>
		<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render</link>
		<description>Gravity Support Forums Topic: Auto Populate Drop Down using a List or an Array (gform_pre_render)</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:11:12 +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/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render" rel="self" type="application/rss+xml" />

		<item>
			<title>ratputin on "Auto Populate Drop Down using a List or an Array (gform_pre_render)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render#post-118066</link>
			<pubDate>Thu, 10 Jan 2013 00:09:35 +0000</pubDate>
			<dc:creator>ratputin</dc:creator>
			<guid isPermaLink="false">118066@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This looks really promising! Thank you!&#60;/p&#62;
&#60;p&#62;Rat
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Auto Populate Drop Down using a List or an Array (gform_pre_render)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render#post-117936</link>
			<pubDate>Wed, 09 Jan 2013 21:33:47 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">117936@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could just hard code it using the following: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_column_input&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_column_input&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ratputin on "Auto Populate Drop Down using a List or an Array (gform_pre_render)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render#post-117898</link>
			<pubDate>Wed, 09 Jan 2013 21:06:33 +0000</pubDate>
			<dc:creator>ratputin</dc:creator>
			<guid isPermaLink="false">117898@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David! I was hoping you were around :)&#60;/p&#62;
&#60;p&#62;I actually don't have a preference as to where the list originates from, it could be an external text file or a built in array (there is no DB with the info). I have built an array similar to what I need in a static PHP form, but I can't for the life of me figure out how this fits together with GF. So I guess I need to ask...is one way better than another? If not, how would I go about using a text file?&#60;/p&#62;
&#60;p&#62;TIA&#60;br /&#62;
Rat
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Auto Populate Drop Down using a List or an Array (gform_pre_render)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render#post-117894</link>
			<pubDate>Wed, 09 Jan 2013 21:00:58 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">117894@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It all depends on where you are getting this list of suppliers. Is it in a database? In a text file? Just a stock list you have? In the end, if you feed the script you have an array of values and then loop through that array, you'll be able to accomplish the same result.  All my best!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ratputin on "Auto Populate Drop Down using a List or an Array (gform_pre_render)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/auto-populate-drop-down-using-a-list-or-an-array-gform_pre_render#post-117890</link>
			<pubDate>Wed, 09 Jan 2013 20:56:49 +0000</pubDate>
			<dc:creator>ratputin</dc:creator>
			<guid isPermaLink="false">117890@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After going through the gform_pre_render tutorial a gazillion times, I have successfully implemented the tutorial code in a form. However, instead of auto populating the drop down with post titles, I would like to have it populate from an array/list of &#34;Suppliers&#34; (ex. Acme, Delco, Volvo). What would I replace in the attached script to accomplish this?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/5658382&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/5658382&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;TIA&#60;br /&#62;
Rat
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
