<?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: Dyanimacally populating drop down with custom field values of posts</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dyanimacally-populating-drop-down-with-custom-field-values-of-posts</link>
		<description>Gravity Support Forums Topic: Dyanimacally populating drop down with custom field values of posts</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 06:22:36 +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/dyanimacally-populating-drop-down-with-custom-field-values-of-posts" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Dyanimacally populating drop down with custom field values of posts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dyanimacally-populating-drop-down-with-custom-field-values-of-posts#post-42502</link>
			<pubDate>Tue, 29 Nov 2011 19:32:39 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">42502@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David has also updated the tutorial to include this information in the tutorial here:&#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>Casey Kluver on "Dyanimacally populating drop down with custom field values of posts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dyanimacally-populating-drop-down-with-custom-field-values-of-posts#post-42491</link>
			<pubDate>Tue, 29 Nov 2011 18:45:27 +0000</pubDate>
			<dc:creator>Casey Kluver</dc:creator>
			<guid isPermaLink="false">42491@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You are the best! Thanks so much David :) Works like a charm!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Dyanimacally populating drop down with custom field values of posts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dyanimacally-populating-drop-down-with-custom-field-values-of-posts#post-42470</link>
			<pubDate>Tue, 29 Nov 2011 16:54:00 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">42470@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Fallingup,&#60;/p&#62;
&#60;p&#62;You can do this by replacing line 20 of the pasted snippet to this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$choices[] = array(&#38;#39;text&#38;#39; =&#38;gt; get_post_meta($post-&#38;gt;ID, &#38;#39;meta_key&#38;#39;, true), &#38;#39;value&#38;#39; =&#38;gt; get_post_meta($post-&#38;gt;ID, &#38;#39;meta_key&#38;#39;, true));&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Replace &#34;meta_key&#34; with the meta key of the custom field you are trying to retrieve.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Casey Kluver on "Dyanimacally populating drop down with custom field values of posts"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dyanimacally-populating-drop-down-with-custom-field-values-of-posts#post-42449</link>
			<pubDate>Tue, 29 Nov 2011 13:41:51 +0000</pubDate>
			<dc:creator>Casey Kluver</dc:creator>
			<guid isPermaLink="false">42449@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This post in the &#34;How-To&#34; Documentation has helped me a ton!&#60;br /&#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;br /&#62;
I first want to say thanks for this info!!&#60;/p&#62;
&#60;p&#62;In this example how to it was described how to populate a drop down with the post_title of custom post types dynamically. &#60;/p&#62;
&#60;p&#62;I know have an instance where I would like to dynamically populate a drop down field with the a custom field value of the post rather than the post_title of that post. &#60;/p&#62;
&#60;p&#62;Here is the full code from the &#34;How-To&#34; doc&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/2105544&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2105544&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Can anyone help me out?&#60;br /&#62;
Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
