<?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: Create a drop down with Post ids</title>
		<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids</link>
		<description>Gravity Support Forums Topic: Create a drop down with Post ids</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 02:51:17 +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/create-a-drop-down-with-post-ids" rel="self" type="application/rss+xml" />

		<item>
			<title>kimtanasichuk on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104132</link>
			<pubDate>Tue, 18 Dec 2012 16:52:36 +0000</pubDate>
			<dc:creator>kimtanasichuk</dc:creator>
			<guid isPermaLink="false">104132@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes! :)) Thank you! I'll post back when I get some progress to speak of.&#60;/p&#62;
&#60;p&#62;Have a great day.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104131</link>
			<pubDate>Tue, 18 Dec 2012 16:44:57 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">104131@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's what I would do step by step:&#60;/p&#62;
&#60;p&#62;- In your theme's functions.php file add one of our two hooks that I linked to above. The second one is specifically focused on helping with drop downs. The first one is pre_rendering the entire form.&#60;br /&#62;
- Create a function that'll be related to that hook. Look at the examples in our documentation.&#60;br /&#62;
- Using WordPress' SQL query function, grab the posts you want from the database.&#60;br /&#62;
- Massage that data, grabbing the titles, and using the examples in our documentation and push it to the drop down. &#60;/p&#62;
&#60;p&#62;Does that help at all?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kimtanasichuk on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104130</link>
			<pubDate>Tue, 18 Dec 2012 16:37:06 +0000</pubDate>
			<dc:creator>kimtanasichuk</dc:creator>
			<guid isPermaLink="false">104130@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David,&#60;br /&#62;
Thank you!&#60;br /&#62;
I can handle php once I get a clear sense of what I need to do...having said that I've not been able to fully grok what you posted above...I know its a lot to ask, but is it possible to elaborate a little more? If not, no worries!&#60;/p&#62;
&#60;p&#62;Thanks so much!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104127</link>
			<pubDate>Tue, 18 Dec 2012 16:16:11 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">104127@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What kind of coding ability do you currently have as doing this will require an intermediate level knowledge of PHP? &#60;/p&#62;
&#60;p&#62;On the Gravity Forms side, you'll be needing to use gform_pre_render or gform_column_input to load the drop down with choices. &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_render&#60;/a&#62;&#60;br /&#62;
&#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;
&#60;p&#62;On the other side, you'll need to create a wp_query to pull the posts of the type that you want and then push the titles into the drop down.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kimtanasichuk on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104121</link>
			<pubDate>Tue, 18 Dec 2012 15:58:44 +0000</pubDate>
			<dc:creator>kimtanasichuk</dc:creator>
			<guid isPermaLink="false">104121@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David!&#60;/p&#62;
&#60;p&#62;Thanks for checking in. Here is what I would like to do.  I've created a custom content type called &#34;Planters&#34; and each &#34;Planter&#34; contains a bunch of information about the plant growing in that planter.  I have created a gravity form &#34;Plant Vitals&#34; that records some basic data about the plant in the planter ie., moisture, light, pH.  &#60;/p&#62;
&#60;p&#62;What I would like, is a drop down list on the &#34;Plant Vitals&#34; form that lists all the available &#34;plants&#34; so I can attach a form entry to a particular plant.&#60;/p&#62;
&#60;p&#62;Then, on each &#34;plant&#34; post, I'd like to query and grab all the &#34;plant vitals&#34; entries for a particular plant and display links to the individual form entries.&#60;/p&#62;
&#60;p&#62;Does that give you enough to go on?  Its still rough in my head, but ideally, I want my plant technician to open the form, select one of the plants, and record the data for that plant.  &#60;/p&#62;
&#60;p&#62;thanks so much!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104113</link>
			<pubDate>Tue, 18 Dec 2012 15:36:07 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">104113@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you please provide me with more information on what you are planning to do? Post ID's are numbers. Do you want a list of Post Titles from your blog?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kimtanasichuk on "Create a drop down with Post ids"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/create-a-drop-down-with-post-ids#post-104067</link>
			<pubDate>Tue, 18 Dec 2012 13:10:37 +0000</pubDate>
			<dc:creator>kimtanasichuk</dc:creator>
			<guid isPermaLink="false">104067@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there,&#60;/p&#62;
&#60;p&#62;I would like to create a drop down box with post ids and then store the selected post id with the form submission.  Is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
