<?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 Tag: dynamic - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/dynamic</link>
		<description>Gravity Support Forums Tag: dynamic - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:36:14 +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/tags/dynamic/topics" rel="self" type="application/rss+xml" />

		<item>
			<title>stav on "Dynamic ajax category child dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-ajax-category-child-dropdown#post-60336</link>
			<pubDate>Thu, 24 May 2012 19:37:41 +0000</pubDate>
			<dc:creator>stav</dc:creator>
			<guid isPermaLink="false">60336@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi i need some help on how can i post selected variable from one dynamic dropdown to second one with ajax.&#60;br /&#62;
Here is my code and i need some help on how can i accomplish this.&#60;br /&#62;
Thank you.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;//Dynamic category dropdown
add_filter(&#38;quot;gform_pre_render_2&#38;quot;, &#38;quot;monitor_single_dropdown&#38;quot;);
function monitor_single_dropdown($form){

	global $wpdb;
	$nomos_table = $wpdb-&#38;gt;prefix . &#38;#39;nomous&#38;#39;;
	$wp_nomos_search = $wpdb-&#38;gt;get_results(&#38;quot;SELECT nomos_ID, nomos_Title FROM $nomos_table ORDER BY nomos_ID ASC&#38;quot;);

	//Creating drop down item array.
	$items = array();

	//Adding initial blank value.
	//$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);

	 //Adding dimos titles to the items array
	foreach ( $wp_nomos_search as $nomostitle ){
	$is_selected = $nomostitle-&#38;gt;nomos_Title == &#38;quot;Test&#38;quot; ? true : false;
		$items[] = array(&#38;quot;value&#38;quot; =&#38;gt; $nomostitle-&#38;gt;nomos_ID, &#38;quot;text&#38;quot; =&#38;gt; $nomostitle-&#38;gt;nomos_Title, &#38;quot;isSelected&#38;quot;=&#38;gt; $is_selected);
	}

	//Adding other... item
	//$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;Other...&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;other&#38;quot;);

	 //Adding items to field id 28
	    foreach($form[&#38;quot;fields&#38;quot;] as &#38;amp;$field)

	        if($field[&#38;quot;id&#38;quot;] == 28){
	            $field[&#38;quot;type&#38;quot;] = &#38;quot;select&#38;quot;;
	            $field[&#38;quot;choices&#38;quot;] = $items;
	        }

?&#38;gt;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;

jQuery(document).ready(function(){

	jQuery(&#38;#39;#input_2_28&#38;#39;).change(function(){
			var mainCat=jQuery(&#38;#39;#input_2_28&#38;#39;).val();

			// call ajax
			 jQuery(&#38;quot;#input_2_30&#38;quot;).empty();
				jQuery.ajax({
					url:&#38;quot;&#38;lt;?php bloginfo( &#38;#39;wpurl&#38;#39; ); ?&#38;gt;/wp-admin/admin-ajax.php&#38;quot;,
					type:&#38;#39;POST&#38;#39;,
				    data:&#38;#39;action=monitor_children_dropdown&#38;amp;main_catid=&#38;#39; + mainCat,

					 success:function(results)
						 {
	    	//	alert(results);
		 //   jQuery(&#38;quot;#input_2_30&#38;quot;).append(results);
								}
						   });
				  }
							);

});
&#38;lt;/script&#38;gt;

&#38;lt;?php
return $form;
}

add_filter(&#38;quot;gform_pre_render_2&#38;quot;, &#38;quot;monitor_children_dropdown&#38;quot;);

function monitor_children_dropdown($form) {
$parentCat=$_POST[&#38;#39;main_catid&#38;#39;];

global $wpdb;
$dimoi_table = $wpdb-&#38;gt;prefix . &#38;#39;dimoi&#38;#39;; 

$wp_dimostitle_search = $wpdb-&#38;gt;get_results(&#38;quot;SELECT dimos_ID, dimos_Title FROM $dimoi_table WHERE nomos_ID=$parentCat ORDER BY dimos_ID ASC&#38;quot;);

//Creating drop down item array.
$items = array();

//Adding initial blank value.
//$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;&#38;quot;);

 //Adding dimos titles to the items array
foreach ( $wp_dimostitle_search as $dimostitle ){
$is_selected = $dimostitle-&#38;gt;dimos_Title == &#38;quot;Test&#38;quot; ? true : false;
	$items[] = array(&#38;quot;value&#38;quot; =&#38;gt; $dimostitle-&#38;gt;dimos_Title, &#38;quot;text&#38;quot; =&#38;gt; $dimostitle-&#38;gt;dimos_Title, &#38;quot;isSelected&#38;quot;=&#38;gt; $is_selected);
}

//Adding other... item
$items[] = array(&#38;quot;text&#38;quot; =&#38;gt; &#38;quot;Other...&#38;quot;, &#38;quot;value&#38;quot; =&#38;gt; &#38;quot;other&#38;quot;);

 //Adding items to field id 30
    foreach($form[&#38;quot;fields&#38;quot;] as &#38;amp;$field)

        if($field[&#38;quot;id&#38;quot;] == 30){
            $field[&#38;quot;type&#38;quot;] = &#38;quot;select&#38;quot;;
            $field[&#38;quot;choices&#38;quot;] = $items;
        }

    return $form;

//return the result to the ajax post
die();
}

add_action( &#38;#39;wp_ajax_nopriv_monitor_children_dropdown&#38;#39;, &#38;#39;monitor_children_dropdown&#38;#39;); //keep for people who allow post before registration
add_action( &#38;#39;wp_ajax_monitor_children_dropdown&#38;#39;, &#38;#39;monitor_children_dropdown&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>textalk on "Dynamically load forms with Ajax"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamically-load-forms-with-ajax#post-333712</link>
			<pubDate>Thu, 20 Jun 2013 03:29:08 +0000</pubDate>
			<dc:creator>textalk</dc:creator>
			<guid isPermaLink="false">333712@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm having a page with approx. 13 forms. The page consists of many hidden divs containing links to fancyboxes with the generated forms. The problem is that when the page is loading, all hidden content shows up for a short time before &#34;falling into place&#34;.&#60;/p&#62;
&#60;p&#62;Since I don't have a problem if I remove the forms from the fancyboxes, I figured the problem is caused by having so many forms generated upon loading the page.&#60;/p&#62;
&#60;p&#62;I then tried to dynamically load the forms via Ajax. However, the procedure in Wordpress for doing this is to go via admin-ajax.php, in an &#34;admin context&#34;. This causes the forms to appear as editable but disabled and it just looks awkward.&#60;/p&#62;
&#60;p&#62;Is there any possible solution for dynamically loading the forms into fancyboxes when these are being shown?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ehong33234 on "Variable Pricing Multiplier Option Instead of Fixed Price"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/variable-pricing-multiplier-option-instead-of-fixed-price#post-89074</link>
			<pubDate>Fri, 09 Nov 2012 02:49:55 +0000</pubDate>
			<dc:creator>ehong33234</dc:creator>
			<guid isPermaLink="false">89074@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am using GF for a print shop site and the scenario I am facing is that the type of material the customer chooses (i.e. glossy paper or satin paper) significantly impacts the total price. However, I am only given - as far as I know - a fixed price option, which doesn't work since the size of the print also impacts the final price. Currently, the customer inputs the WIDTH and HEIGHT of their print, which gives me the sub-total but from there, I would like to use that WIDTH and HEIGHT sub-total to come up with a final price based on the material choice (set at a price multiplier). &#60;/p&#62;
&#60;p&#62;For instance, if the customer selects the more expensive Satin Paper, I need for the price calculation to be a multiplier (not a fixed added cost) since the price of Satin costs much more than regular glossy. I see the +/- pricing options but that doesn't help me much because I can only put in a fixed price. Someone ordering a small poster that is 2x2&#34; shouldn't have to pay the same fixed cost as someone ordering a 10x20' sign. &#60;/p&#62;
&#60;p&#62;Also, I was looking at the PRODUCT field and setting it to CALCULATOR but this doesn't quite do what I am looking for.&#60;/p&#62;
&#60;p&#62;THANKS FOR ANY/ALL HELP! All solutions and suggestions welcome!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vixvii on "Using dynamically populated field as condition for MailChimp group assignments"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-dynamically-populated-field-as-condition-for-mailchimp-group-assignments#post-244824</link>
			<pubDate>Thu, 09 May 2013 15:18:19 +0000</pubDate>
			<dc:creator>vixvii</dc:creator>
			<guid isPermaLink="false">244824@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to assign users to my MailChimp groups based on a selection they make in a dropdown list. The problem is that this list is dynamically populated so when I use the conditional fields in the MailChimp settings, I don't have the values listed for that field.&#60;/p&#62;
&#60;p&#62;Is it possible to create the MailChimp registration using php code when the form is submitted?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>chrishill123 on "Populate drop-down list with usernames"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-drop-down-list-with-usernames#post-95808</link>
			<pubDate>Mon, 26 Nov 2012 14:03:50 +0000</pubDate>
			<dc:creator>chrishill123</dc:creator>
			<guid isPermaLink="false">95808@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;~I would like to be able to populate a drop down box with a list of all usernames&#60;br /&#62;
Possible?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>K Schroeder on "multiple dynamic panel of fields added on demand."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/multiple-dynamic-panel-of-fields-added-on-demand#post-175793</link>
			<pubDate>Mon, 18 Mar 2013 17:09:13 +0000</pubDate>
			<dc:creator>K Schroeder</dc:creator>
			<guid isPermaLink="false">175793@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Our client has made a request to dynamically add additional fields on demand. A person will go to a form and fill in topic information for a presentation. When the presentation type is 'panel discussion' that person will fill in the information for herself and the additional members of the panel. the number of members will vary from 2 or more. when a button is clicked like that of the list field type there will be presented a new group of fields (first name, last name, company, address, email) I have not found a plugin for this if there is one i would like to know where to get it. If there is not i would like direction on how to add additional fields.with a layout of multi rows in place of a single row.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kyle on "Passing Dynamic Checkboxes to Confirmation Page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/passing-dynamic-checkboxes-to-confirmation-page#post-199134</link>
			<pubDate>Sat, 06 Apr 2013 20:05:01 +0000</pubDate>
			<dc:creator>kyle</dc:creator>
			<guid isPermaLink="false">199134@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I originally had a form where I manually entered some PDFs that you could choose to download.  Some of the PDFs required authorization before they could be downloaded, so the Confirmation page handled that (based on which PDFs were requested - data that got sent by using the &#34;Pass Field Data Via Query String&#34;) component of the Confirmation Page settings.  &#60;/p&#62;
&#60;p&#62;NOW, I'd like to make this automatic - we're using a downloads plugin, and whenever a PDF is added to the downloads plugin, it automatically appears as a checkbox item in the form.  This is working perfectly, and the data gets submitted to the form entries.  The problem, however, is that I'm no longer sure how I can send which PDFs were downloaded to the Confirmation page - since I can't manually choose them from the &#34;Insert Merge Tag&#34; dropdown.  Is there a PHP action/filter I can use to do this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>electricscribe on "DB lookups for selects and radio button options"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/db-lookups-for-selects-and-radio-button-options#post-203515</link>
			<pubDate>Wed, 10 Apr 2013 04:43:38 +0000</pubDate>
			<dc:creator>electricscribe</dc:creator>
			<guid isPermaLink="false">203515@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK, I have slugged through a lot of stuff to get GF working for me. And I've been able to so far. What I, and seemingly others really need is a working example (not one line code snippets like in the GF dox) of how to do this. I can hack some code here and there, but I've never written code to interface with a database and populate the arrays. I have written a piss poor outline of what I am trying to do here. Can anyone flesh this out for me and the rest of the GF community? And explain where it goes and how to use it REAL WORLD?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_pre_render_51&#38;#39;, &#38;#39;populate_familyIDs&#38;#39;);

define function populate_familyIDs {

foreach($form[&#38;#39;fields&#38;#39;] as &#38;amp;$field){ 

if($field[&#38;#39;type&#38;#39;] != &#38;#39;radio&#38;#39; &#124;&#124; strpos($field[&#38;#39;FamilyIDclass&#38;#39;], &#38;#39;populate_familyIDs&#38;#39;) === false)
	    continue;
if($field[&#38;#39;type&#38;#39;] != &#38;#39;select&#38;#39; &#124;&#124; strpos($field[&#38;#39;FamilyIDclass&#38;#39;], &#38;#39;populate_familyIDs&#38;#39;) === false)
	    continue;
}

global $wpdb;
$arrayforradiochoices = $wpdb-&#38;gt;get_results(&#38;quot;SELECT ALL(field_number=29) as IDs FROM wp_rg_lead_detail WHERE form_id=4 AND field_number=28 );
    return $arrayforradiochoices;
    return $arrayforselectchoices;

} // end populate_familyIDs

And then some code to populate the radio or select choices.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I hope this gives an idea of what we are trying to do.&#60;br /&#62;
I know there are many on here that will at the very least, give you our sincere gratitude.&#60;br /&#62;
If you require more, let us know.&#60;/p&#62;
&#60;p&#62;I am sure many have done this. &#60;/p&#62;
&#60;p&#62;Thank You for considering helping us out.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>honeyl on "Using checkbox to select a single quantity of each product."</title>
			<link>https://legacy.forums.gravityhelp.com/topic/using-checkbox-to-select-a-single-quantity-of-each-product#post-144463</link>
			<pubDate>Thu, 07 Feb 2013 23:29:17 +0000</pubDate>
			<dc:creator>honeyl</dc:creator>
			<guid isPermaLink="false">144463@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have several products on a page, but they aren't actually products. They are workshops at a local school, and the user needs to only sign up for one of each. For this reason, it seems silly to have a quantity label, but if I disable this field, there doesn't seem to be any way for users to select each of the workshops. Ideally, I need checkboxes so they can select multiple workshops and have the total amount pass through to PayPal.&#60;/p&#62;
&#60;p&#62;Is there anyway I can do this? I've looked through other posts related to checkboxes, but none of them addresses this exact scenario.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dabhand on "Display Posts based on Form Entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-posts-based-on-form-entry#post-171309</link>
			<pubDate>Thu, 14 Mar 2013 12:49:33 +0000</pubDate>
			<dc:creator>dabhand</dc:creator>
			<guid isPermaLink="false">171309@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I used Gravity Forms to make 2 Dropdowns. &#60;/p&#62;
&#60;p&#62;1 - Cities: (A list of my Parent Categories)&#60;br /&#62;
2 - Towns: (A conditional list that is chained to the first dropdown.)&#60;/p&#62;
&#60;p&#62;So basically, you choose a City, and then the second dropdown serves up a list of Towns within that City. Easy.&#60;/p&#62;
&#60;p&#62;What I would like to know is if a third step is possible. I want to be shown a list of Stores (Posts) within the selected Town. This result is not a form element. It's just a list of results.&#60;/p&#62;
&#60;p&#62;Is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
