<?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: Problem with automatically populating dropdown</title>
		<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown</link>
		<description>Gravity Support Forums Topic: Problem with automatically populating dropdown</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 08:03:15 +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/problem-with-automatically-populating-dropdown" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-83658</link>
			<pubDate>Thu, 25 Oct 2012 10:35:25 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83658@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Do you have a link to the page where we can see your form in action?  Maybe embed it in two different pages, once with AJAX, once without, so we can see the difference.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-83551</link>
			<pubDate>Thu, 25 Oct 2012 01:32:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">83551@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This problem looks to be a bug when the form is set to use Ajax for submissions.&#60;/p&#62;
&#60;p&#62;With Ajax submissions disabled, the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#34; rel=&#34;nofollow&#34;&#62;dynamically populated drop-down fields&#60;/a&#62; do not get wiped out during the form validate routine.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-82724</link>
			<pubDate>Mon, 22 Oct 2012 17:43:03 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">82724@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;You will need to update the form property enableValues to true:&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I'm having the same problem, using Gravity Forms v1.6.8.1 with WordPress 3.4.2 -- has anyone found a solution?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-35170</link>
			<pubDate>Tue, 13 Sep 2011 12:16:23 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">35170@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Trisha,&#60;/p&#62;
&#60;p&#62;Would you mind sending me a WP and FTP login to your site. I've tested on my end and it is working with out issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Trisha on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-35012</link>
			<pubDate>Sat, 10 Sep 2011 16:18:12 +0000</pubDate>
			<dc:creator>Trisha</dc:creator>
			<guid isPermaLink="false">35012@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you David..... I added your suggestion, but the value is still being populated with the text, instead of being blank, as would be needed to trigger the validation.  I deliberately did not put in a default value, only default text.&#60;/p&#62;
&#60;p&#62;So the question is, how can I modify the aforementioned code to have it *not* take the text and use it for the value?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-34970</link>
			<pubDate>Fri, 09 Sep 2011 17:00:54 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">34970@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Trisha,&#60;/p&#62;
&#60;p&#62;You will need to update the form property &#60;em&#62;enableValues&#60;/em&#62; to true:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$form[&#38;#39;enableValues&#38;#39;] = true;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Trisha on "Problem with automatically populating dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/problem-with-automatically-populating-dropdown#post-34948</link>
			<pubDate>Fri, 09 Sep 2011 14:13:35 +0000</pubDate>
			<dc:creator>Trisha</dc:creator>
			<guid isPermaLink="false">34948@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found the instructions here in the forum on how to &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/automatically-populate-a-dropdown-with-post-titles&#34; rel=&#34;nofollow&#34;&#62;Automatically populate a dropdown with post titles&#60;/a&#62; and it works like a charm, does what I need....&#60;/p&#62;
&#60;p&#62;Except that it doesn't support validation if I make that text field (that gets replaced with the dropdown) a required field - the problem is in this line:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;11	    //Adding initial blank value.
12	    $items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;While I have entered the default text I want (&#34;Please select your product&#34;), and left the &#34;value&#34; =&#38;gt; &#34;&#34; blank so that there should be no value (which should trigger an error on validation), the plugin still puts in the text as the value, negating the validation.&#60;/p&#62;
&#60;p&#62;What can I do to make sure that the value stays blank and that the field is validated?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
