<?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: Dynamical population of dropdown</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown</link>
		<description>Gravity Support Forums Topic: Dynamical population of dropdown</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 20:14:45 +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/dynamical-population-of-dropdown" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-148887</link>
			<pubDate>Mon, 18 Feb 2013 01:55:19 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">148887@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;On line 12 of your paste, can you place a debug statement to dump the $posts array (use var_dump or print_r).  We need to see what $posts contains at that point before trying to populate your drop down.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>antorome on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-147589</link>
			<pubDate>Sat, 16 Feb 2013 03:02:33 +0000</pubDate>
			<dc:creator>antorome</dc:creator>
			<guid isPermaLink="false">147589@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;here you have my code&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/5ugJcxFT&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/5ugJcxFT&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I am testing it locally so there is no page to check it. If with taht code is not enough to figure out a solution I will try to do it live.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-145010</link>
			<pubDate>Sat, 09 Feb 2013 02:03:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">145010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You have not given us enough information to help you yet.  &#60;/p&#62;
&#60;p&#62;What are you trying to populate the dropdown with? What code are you using exactly to populate the dropdown?  Please post the code at pastebin.com or pastie.org.&#60;/p&#62;
&#60;p&#62;Please share a URL to the page on your site where the form is embedded if it will help us.&#60;/p&#62;
&#60;p&#62;Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>antorome on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-144577</link>
			<pubDate>Fri, 08 Feb 2013 05:12:13 +0000</pubDate>
			<dc:creator>antorome</dc:creator>
			<guid isPermaLink="false">144577@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, with that now the page is displayed but the dropdown is not populated.&#60;br /&#62;
I just copied this code&#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;/p&#62;
&#60;p&#62;and checked this advanced option:&#60;br /&#62;
Allow field to be populated dynamically(?)&#60;/p&#62;
&#60;p&#62;Should I do something special with &#34;choices&#34; in the form? Do I leave the default First, second and third choice?&#60;/p&#62;
&#60;p&#62;I correctly write the css class to be checked.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-144405</link>
			<pubDate>Thu, 07 Feb 2013 20:13:06 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">144405@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you get a blank page, it is likely you are experiencing a 500 Internal Server error.  Please check your server's PHP or Apache error logs to see what the error is.  &#60;/p&#62;
&#60;p&#62;If you're using PHP 5.3, it's possible this notation will not work for you, and will throw an error:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// this code can throw an error
foreach($form[&#38;quot;fields&#38;quot;] as &#38;amp;$field) {

// you might need to change it to this
// drop the ampersand
foreach($form[&#38;quot;fields&#38;quot;] as $field) {&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>antorome on "Dynamical population of dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamical-population-of-dropdown#post-144234</link>
			<pubDate>Thu, 07 Feb 2013 12:47:33 +0000</pubDate>
			<dc:creator>antorome</dc:creator>
			<guid isPermaLink="false">144234@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello&#60;/p&#62;
&#60;p&#62;I have seen the documentation you provide&#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;
and also&#60;br /&#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;/p&#62;
&#60;p&#62;but when implementing in my site I get a blank page when I try the view the resulting form. Also when implementing the code of the second link above and try to update the post I also get a blank one with this url &#60;a href=&#34;http://mysite.com/wp-admin/post.php&#34; rel=&#34;nofollow&#34;&#62;http://mysite.com/wp-admin/post.php&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Before going deeper, are your samples still valide? just in case they are not anymore with las wp versions.&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
