<?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: Cascading dynamic fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields</link>
		<description>Gravity Support Forums Topic: Cascading dynamic fields</description>
		<language>en-US</language>
		<pubDate>Sat, 18 Apr 2026 19:58: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/cascading-dynamic-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30164</link>
			<pubDate>Fri, 15 Jul 2011 20:36:02 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30164@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I can confirm: Alex's tip helped me. I can now populate my radio buttons group.&#60;/p&#62;
&#60;p&#62;Now it's time to fight with Gravity Forms multilingual plugin, that doesn't works as expected, but this is another story and more important, a WPML issue.&#60;/p&#62;
&#60;p&#62;Thanks again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30158</link>
			<pubDate>Fri, 15 Jul 2011 17:34:44 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30158@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Alex: I have to try it, but as far as I can see your idea makes sense.&#60;br /&#62;
I'll post an update after having tried it.&#60;/p&#62;
&#60;p&#62;Thank you again.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30157</link>
			<pubDate>Fri, 15 Jul 2011 17:32:42 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">30157@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is a tricky customization. I think the easiest way to pull this off is using jQuery. I am going to point you in the right direction with some generic ideas to get you started. If you have trouble with some of them, I can be more specific. This is what you will need to do:&#60;/p&#62;
&#60;p&#62;1- In the gform_pre_render_1 filter, in addition to populating the drop down, you will need to inject javascript to the page containing an array of all studytrips and for each studytrips, an array for all periods. In PHP, the structure I am thinking about would look like the following:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;array(&#38;quot;1&#38;quot; =&#38;gt; array(&#38;quot;August 12, 2011 - August 20, 2011&#38;quot;, &#38;quot;August 20, 2011 - August 27, 2011&#38;quot;),
         &#38;quot;2&#38;quot; =&#38;gt; array(&#38;quot;September 12, 2011 - September 20, 2011&#38;quot;, &#38;quot;September 20, 2011 - September 27, 2011&#38;quot;))&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Where 1 and 2 are the studytrip IDs. You will need to create something similar in Javascript.&#60;/p&#62;
&#60;p&#62;2- In the same gform_pre_render_1 filter, will will also inject Javascript code to bind to the drop down's onchange event, read the javascript array to get the periods for the currently selected studytrip and rebuild the radio button list using jQuery based on the periods.&#60;/p&#62;
&#60;p&#62;Your code will look somewhat like the following&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/2219838&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2219838&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30156</link>
			<pubDate>Fri, 15 Jul 2011 17:32:26 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30156@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok. Now I know is a customization: for the knowledge I have about this plugin (this is my first attempt of using it, as I've bought it for this specific purpose) it could have been either an existing feature that wasn't working, I didn't know how to use it or, as you're writing, a customization.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;Just to recap&#60;/strong&#62;: the only things I need to know is how to populate a radio button group with values based on another field (dropdownlist).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30152</link>
			<pubDate>Fri, 15 Jul 2011 16:45:17 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">30152@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Your question is regarding a customization.  Customer issues involving core functionality and issues such as the plugin is broken or not working take priority of questions regarding customizations.  Customizations aren't considered support, they are customizations.  &#60;/p&#62;
&#60;p&#62;We do help users with customization issues or questions as we have time, but true support issues take priority when answering questions on the forum.  &#60;/p&#62;
&#60;p&#62;I'll have our lead developer take a look at what you are trying to do and he'll post with his thoughts.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30151</link>
			<pubDate>Fri, 15 Jul 2011 16:40:34 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30151@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok. My mistake.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;I've a developer license&#60;/strong&#62;: I've posted in the wrong place.&#60;/p&#62;
&#60;p&#62;I'm gonna report in the right place now.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Kevin Flahaut on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30150</link>
			<pubDate>Fri, 15 Jul 2011 16:38:46 +0000</pubDate>
			<dc:creator>Kevin Flahaut</dc:creator>
			<guid isPermaLink="false">30150@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We'll take an in-depth look at your request as soon as we can. Priority support requests from Developer license holders get taken care of first ( in the order they're received ) then we move through the forums as quickly as we can to offer assistance. 11 hours ago was also 4 hours before our posted support hours ( I know we're in different time zones ) so please try to be patient as we get back to you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30134</link>
			<pubDate>Fri, 15 Jul 2011 16:05:10 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30134@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Two hours for the week-end closing, eleven hours from my request post and still no answer.&#60;br /&#62;
I was expecting a quicker answer from the support of a premium plugin.&#60;br /&#62;
Instead I'll probably have to wait the whole week-end (if not even more) and get stuck to this issue.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30106</link>
			<pubDate>Fri, 15 Jul 2011 11:40:22 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30106@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;For what is worth, this is the URL of the form page: &#60;a href=&#34;http://progettoanike.org/pre-iscrizione-alla-vacanza-studio-a-bobo-dioulasso-burkina-faso/&#34; rel=&#34;nofollow&#34;&#62;http://progettoanike.org/pre-iscrizione-alla-vacanza-studio-a-bobo-dioulasso-burkina-faso/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sciamannikoo on "Cascading dynamic fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/cascading-dynamic-fields#post-30077</link>
			<pubDate>Fri, 15 Jul 2011 04:39:57 +0000</pubDate>
			<dc:creator>sciamannikoo</dc:creator>
			<guid isPermaLink="false">30077@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello.&#60;/p&#62;
&#60;p&#62;I've spend about an hour looking for a solution to my need, but I didn't find the right way to do it.&#60;/p&#62;
&#60;p&#62;This is what I'd like to do:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;
There is a 4 pages form.
&#60;/li&#62;
&#60;li&#62;
In the first page, I've a dropdownlist the we'll call &#34;studytrips&#34;.
&#60;/li&#62;
&#60;li&#62;
This list is populated using &#60;code&#62;add_filter(&#38;#39;gform_pre_render_1&#38;#39;, &#38;#39;populate_studytrip&#38;#39;);&#60;/code&#62; and retrieving all posts of a specific type (custom post types) and with other filtering logic.
&#60;/li&#62;
&#60;li&#62;
Once an item is selected, a radio button list is shown.
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Until here I haven't any issue.&#60;/p&#62;
&#60;p&#62;Each of the &#34;studytrips&#34; post (step #2 above) contains a specific meta data (custom field), called &#34;periods&#34;. This custom field can recur one or more times.&#60;br /&#62;
So I could have, for the post X, this meta data:&#60;br /&#62;
periods = August 12, 2011 - August 20, 2011&#60;br /&#62;
periods = August 20, 2011 - August 27, 2011&#60;br /&#62;
periods = August 27, 2011 - September 3, 2011&#60;br /&#62;
...&#60;/p&#62;
&#60;p&#62;The radio button list, given the post_id (from the dropdownlist value &#34;studytrips&#34;), must retrieve this data.&#60;/p&#62;
&#60;p&#62;This is the step I'm stuck on right now.&#60;br /&#62;
Actually, I've already created a call to &#60;code&#62;add_filter(&#38;#39;gform_pre_render_1&#38;#39;, &#38;#39;populate_period&#38;#39;);&#60;/code&#62;, but I don't know how to get the value from the dropdownlist, since the form isn't doing any post.&#60;br /&#62;
Maybe I could get the value, putting the radio buttons in a second page, but this would go against the usability and more important, the logic of this form (each step is a specific category of fields that needs to be filled).&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
