<?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: dropdown - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/dropdown</link>
		<description>Gravity Support Forums Tag: dropdown - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:37:40 +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/dropdown/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>Anonymous on "List Item (Multiple Columns) With Dropdown"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/list-item-multiple-columns-with-dropdown#post-146651</link>
			<pubDate>Wed, 13 Feb 2013 14:48:11 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">146651@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello..&#60;/p&#62;
&#60;p&#62;We have a list item with three columns.  We'd like to be able to add a fourth column with a dropdown select box instead of a text box.  How can this happen?&#60;/p&#62;
&#60;p&#62;Or at least the same functionality a different way if it cannot be done through a multi-column list field.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>smullen on "enhanced drop down filter (bugfix)"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/enhanced-drop-down-filter-bugfix#post-281453</link>
			<pubDate>Mon, 27 May 2013 19:56:37 +0000</pubDate>
			<dc:creator>smullen</dc:creator>
			<guid isPermaLink="false">281453@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I would call this a bug, but others may disagree.&#60;/p&#62;
&#60;p&#62;The enhanced drop down included in Gravity Forms (GF) does not filter out invalid entries, which is the expected behaviour.&#60;/p&#62;
&#60;p&#62;Try a GF country drop down and compare it to &#60;a href=&#34;http://harvesthq.github.io/chosen/&#34; rel=&#34;nofollow&#34;&#62;http://harvesthq.github.io/chosen/&#60;/a&#62;&#60;br /&#62;
by typng a y (for example)&#60;/p&#62;
&#60;p&#62;Drop downs with hundred of entries are comparatively difficult to use in GF &#60;/p&#62;
&#60;p&#62;To fix: update chosen in GF ( js/css + one sprite)&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;Sean
&#60;/p&#62;</description>
		</item>
		<item>
			<title>btozcreative on "Paragraph Text, Dropdown font size &#38; styling"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/paragraph-text-dropdown-font-size-styling#post-358502</link>
			<pubDate>Tue, 02 Jul 2013 20:20:59 +0000</pubDate>
			<dc:creator>btozcreative</dc:creator>
			<guid isPermaLink="false">358502@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;First of all, THANK YOU for your wonderful documentation, support and these forums: they helped a lot so far. I am posting my question here so future generations of GFormers can use it for reference...&#60;/p&#62;
&#60;p&#62;Regarding:&#60;br /&#62;
&#60;a href=&#34;http://www.freeandequal.dreamhosters.com/volunteer/&#34; rel=&#34;nofollow&#34;&#62;http://www.freeandequal.dreamhosters.com/volunteer/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I managed to get the text input boxes to take a larger font size, but had some trouble with the dropdowns and paragraph text. Until I figured out their containers... I'm including that code here because it was a bugger to figure out, and I want to make someone's life easier...&#60;/p&#62;
&#60;p&#62;My question is, are there any other input fields I am missing that I just haven't spotted because they are not on my form?&#60;/p&#62;
&#60;p&#62;Here's what I'm workin' with right now:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;body .gform_wrapper input[type=text],
body .gform_wrapper input[type=url],
body .gform_wrapper input[type=email],
body .gform_wrapper input[type=tel],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=number],
body .gform_wrapper input[type=password],
body .gform_wrapper .gform_body .gform_fields .gfield textarea,
body .gform_wrapper .gform_body .gform_fields .gfield select,
	font-size: 13px;
	font-family: inherit;
        margin-bottom: 1px;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Am I good?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mlangham on "Adding state counties"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-state-counties#post-352243</link>
			<pubDate>Sat, 29 Jun 2013 11:05:49 +0000</pubDate>
			<dc:creator>mlangham</dc:creator>
			<guid isPermaLink="false">352243@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've created a form for a title company.&#60;/p&#62;
&#60;p&#62;They've requested adding dropdown listing all 88 counties in the state of Ohio.&#60;/p&#62;
&#60;p&#62;Any quick solutions/imports/tweaks to allow for importing this data for use in a gravityForm?&#60;/p&#62;
&#60;p&#62;Of course simply adding 88 dropdown items manually is an understood solution, but if there's a 1-2-3 quick alternative, please share. :)&#60;/p&#62;
&#60;p&#62;- - - - - E D I T E D  - - - - -&#60;br /&#62;
(never mind, found the method.&#60;br /&#62;
1. Click &#34;Bulk Add Predefined&#34;&#60;br /&#62;
2. Paste  Your LIst&#60;br /&#62;
3. Save/Insert&#60;/p&#62;
&#60;p&#62;Doh!)&#60;/p&#62;
&#60;p&#62;Cheers&#60;/p&#62;
&#60;p&#62;Michael
&#60;/p&#62;</description>
		</item>
		<item>
			<title>realph on "Add Products Like Lists"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/add-products-like-lists#post-339445</link>
			<pubDate>Sat, 22 Jun 2013 21:28:24 +0000</pubDate>
			<dc:creator>realph</dc:creator>
			<guid isPermaLink="false">339445@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to add a list of products, but with the list options allowing users to add rows like the List (Advanced Field) allows. With two dropdowns like so:&#60;/p&#62;
&#60;p&#62;[ 1 ]  [ Choose product from list ] ( + )&#60;/p&#62;
&#60;p&#62;So with the &#34;[ 1 ]' being a dropdown from 1-5 and the &#34;[ Choose product ]&#34; also being a dropdown. If the user wanted to add any more items, they could just hit the add row button &#34;( + )&#34;.&#60;/p&#62;
&#60;p&#62;I hope that makes sense. Any help is appreciated.&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ultramel123 on "Remove text string from calculation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/remove-text-string-from-calculation#post-332572</link>
			<pubDate>Wed, 19 Jun 2013 16:58:18 +0000</pubDate>
			<dc:creator>ultramel123</dc:creator>
			<guid isPermaLink="false">332572@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there. &#60;/p&#62;
&#60;p&#62;In order to allow &#34;duplicate&#34; values in a dropdown menu, I would like to edit the dropdown menu as follows:&#60;/p&#62;
&#60;p&#62;Apples and Oranges &#124; 50-1&#60;br /&#62;
Oranges and Lemons &#124; 50-2&#60;br /&#62;
Pineapples &#124; 50-3&#60;br /&#62;
tomatoes &#124; 80-1&#60;/p&#62;
&#60;p&#62;I need to remove the &#34;-1&#34;, or &#34;-2&#34; from the dropdown menu's value for use in calculations. &#60;/p&#62;
&#60;p&#62;How can I remove the this when I calculate my form fields?&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ultramel123 on "Dropdown value and label issue"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dropdown-value-and-label-issue#post-321277</link>
			<pubDate>Thu, 13 Jun 2013 17:22:47 +0000</pubDate>
			<dc:creator>ultramel123</dc:creator>
			<guid isPermaLink="false">321277@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;i have the following dropdown menu in my form.  This dropdown is duplicated (name is changed for each) through my form for each day which a conference is attended. &#60;/p&#62;
&#60;p&#62;the problem is, that the various drop down &#34;labels&#34; are not displaying with the relevant selections made. &#60;/p&#62;
&#60;p&#62;_______________________________&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Menu 1 - R80 - Curry &#38;amp; Rice, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 2 - R80 - Curry &#38;amp; Rice, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 3 - R80 - Beef Stroganoff, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 4 - R80 - Beef Stroganoff, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 5 - R80 - Chicken a la King, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;80
Menu 6 - R80 - Chicken a la King, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;80
Menu 7 - R90 - Spaghetti Bolognaise, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 8 - R90 - Spaghetti Bolognaise, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 9 - R90 - Macaroni Cheese, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 10 - R90 - Macaroni Cheese, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 11 - R90 - Chicken Pie, two salads, Crispy bread rolls, Ice Cream &#38;amp; Fruit salad&#124;90
Menu 12 - R90 - Chicken Pie, two salads, Crispy bread rolls, Ice Cream and Chocolate Sauce&#124;90
Menu 13 - R120 - Cold Meat, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;120
Menu 14 - R120 - Cold Meat, two salads, Crispy bread rolls, Ice Cream &#38;amp; Chocolate Sauce&#124;120
Menu 15 - R120 - Traditional Fish &#38;amp; Chips, two salads, Crispy bread rolls, Malva Pudding &#38;amp; Custard&#124;120
Menu 16 - R120 - Traditional Fish &#38;amp; Chips, two salads, Crispy bread rolls, Ice Cream &#38;amp; Chocolate Sauce&#124;120&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;_______________________________&#60;/p&#62;
&#60;p&#62;If I select &#34;Menu 2&#34; - then the form displays &#34;Menu 1&#34;, with a value of &#34;80&#34;.  The &#34;dropdown label&#34; only changes when I select an option with a different value, such as &#34;Menu 16, value: &#34;120&#34;&#60;/p&#62;
&#60;p&#62;If I am not explaining correctly, the form can be viewed here:&#60;br /&#62;
&#60;a href=&#34;http://www.airport-game-lodge.co.za/?page_id=2890&#34; rel=&#34;nofollow&#34;&#62;http://www.airport-game-lodge.co.za/?page_id=2890&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thank you so much
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ktrusak on "Dropdown Enhanced UI for List Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dropdown-enhanced-ui-for-list-field#post-320925</link>
			<pubDate>Thu, 13 Jun 2013 13:17:20 +0000</pubDate>
			<dc:creator>ktrusak</dc:creator>
			<guid isPermaLink="false">320925@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there some way to enable the enhanced ui for a dropdown in a list field?&#60;/p&#62;
&#60;p&#62;I tried forcing the chosen plugin, but it didn't trigger&#60;/p&#62;
&#60;p&#62;&#60;code&#62;jQuery(&#38;quot;#input_7_26&#38;quot;).chosen();&#60;/code&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ultramel123 on "Dropdown background and text color"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dropdown-background-and-text-color#post-281357</link>
			<pubDate>Mon, 27 May 2013 17:51:14 +0000</pubDate>
			<dc:creator>ultramel123</dc:creator>
			<guid isPermaLink="false">281357@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;/p&#62;
&#60;p&#62;Where in my css could I change the background and text color of my dropdown fields please? The text is white, and the background (hover) color is white as well and is almost impossible to read. &#60;/p&#62;
&#60;p&#62;Any help would be greatly appreciated :)&#60;/p&#62;
&#60;p&#62;Thank you
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
