<?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: Dynamic dropdown</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown</link>
		<description>Gravity Support Forums Topic: Dynamic dropdown</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 06:28:51 +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/dynamic-dropdown" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-134511</link>
			<pubDate>Mon, 28 Jan 2013 23:02:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">134511@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is by design and I don't have a work around for you.  The post by Alex Cancado was an explanation of why it needs to be this way, but there was no work around there either.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-128786</link>
			<pubDate>Tue, 22 Jan 2013 17:26:40 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">128786@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello Chris, any chance to get a solution ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-126530</link>
			<pubDate>Sun, 20 Jan 2013 03:04:16 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">126530@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello again Chris, I appreaciate your help, would you please help me to find a solution (I think we have the Alex's solution or the Alert Javascript hook). Best.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-124614</link>
			<pubDate>Thu, 17 Jan 2013 16:10:03 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">124614@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, thank you for your help. I hope Alex's post could give us a solution.&#60;br /&#62;
May be, I could simply put a simple javascript alert to resolve the problem ?&#60;br /&#62;
If yes, how and where can I put that kind of hook ?&#60;br /&#62;
Thank you for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-123711</link>
			<pubDate>Wed, 16 Jan 2013 18:27:52 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">123711@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When a validation error occurs, the value of the drop downs is reset when the page is reloaded.  This is by design and was required to allow us to have dependent drop downs.  I am trying to find a post by Alex Cancado which explains it in more depth, but I believe this is by design.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-123502</link>
			<pubDate>Wed, 16 Jan 2013 12:18:56 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">123502@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, me again, do you need more explanations ? Cheers.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-123271</link>
			<pubDate>Wed, 16 Jan 2013 05:49:03 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">123271@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, &#60;/p&#62;
&#60;p&#62;Thank you for your answer, I appreciate it.&#60;br /&#62;
I have implemented the source code (&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown)&#60;/a&#62;.&#60;br /&#62;
Everything works and I'm really happy to use the support forum. May be I will try the job board for more complex project. Thanks for the information.&#60;/p&#62;
&#60;p&#62;I have one little problem and I think you or support forum could help me : Field Validation.&#60;br /&#62;
May be you would take a look at that test page (&#60;a href=&#34;http://www.cyberworkers.com/test-gravity-form)&#34; rel=&#34;nofollow&#34;&#62;http://www.cyberworkers.com/test-gravity-form)&#60;/a&#62;.&#60;br /&#62;
I put the source code and the script himself on that test page.&#60;/p&#62;
&#60;p&#62;Problem description :&#60;br /&#62;
When you select a category (let's say &#34;Programming Language&#34;), dynamically the subcategory dropdown is populated and you got a subcategory dropdown with &#34;PHP, DOT NET, ....&#34;.&#60;br /&#62;
Ok for that, it's implemented as you can see on the test page.&#60;/p&#62;
&#60;p&#62;In the subcategory dropdown user must select an option.&#60;br /&#62;
The value for option &#34;Choix&#34; is equal to zero.&#60;br /&#62;
So I add a control like  &#34;if($value==&#34;0&#34; $result[&#34;is_valid&#34;] = false;)&#34;.&#60;br /&#62;
But when GF return the error message, the subcategory dropdown is reseted (and not populated). &#60;/p&#62;
&#60;p&#62;May be there is a code already explain on the forum or a simple solution ?&#60;br /&#62;
Thanks a lot in advance for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-122779</link>
			<pubDate>Tue, 15 Jan 2013 18:25:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122779@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Having 20+ categories and 20+ sub-categories, plus being populated dynamically, rules out using conditional logic to reveal the choices.  The code you linked to is a very good start to do what you need to do, but that is honestly well beyond the support we can provide for Gravity Forms.  If you need help implementing that, you might try posting a job on our job board or on any of the WordPress-related job boards out there.  &#60;a href=&#34;http://www.gravityhelp.com/forums/forum/job-board&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/forum/job-board&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>cyberworkers on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-122747</link>
			<pubDate>Tue, 15 Jan 2013 16:57:24 +0000</pubDate>
			<dc:creator>cyberworkers</dc:creator>
			<guid isPermaLink="false">122747@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, thank you for your quick answer.&#60;/p&#62;
&#60;p&#62;Categories are 20 and change&#60;br /&#62;
Sub-categories are 20 each.&#60;br /&#62;
Categories and sub-categories are both from an extra table (categories and sub_categories).&#60;br /&#62;
They need to be called dynamically (and not defined one time).&#60;br /&#62;
I have seen &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/dynamic-ajax-category-child-dropdown&#60;/a&#62; and it look like what I search... &#60;/p&#62;
&#60;p&#62;Your help is welcome.&#60;br /&#62;
Thank you in advance.&#60;br /&#62;
Cheers
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Dynamic dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-dropdown#post-122706</link>
			<pubDate>Tue, 15 Jan 2013 15:53:48 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122706@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That example code you linked to is fairly complex.&#60;/p&#62;
&#60;p&#62;How many category drop downs will you have, then how many dependent possibilities are there?  And do they change, in other words, are they pulled from your WordPress database, or can they be defined one time and not change?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
