<?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: drop down - Recent Topics</title>
		<link>https://legacy.forums.gravityhelp.com/tags/drop-down</link>
		<description>Gravity Support Forums Tag: drop down - Recent Topics</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 16:38:20 +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/drop-down/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>bluesmokellc on "Creating drop-down menu items that are not selectable"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/creating-drop-down-menu-items-that-are-not-selectable#post-373613</link>
			<pubDate>Wed, 10 Jul 2013 14:03:11 +0000</pubDate>
			<dc:creator>bluesmokellc</dc:creator>
			<guid isPermaLink="false">373613@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How do I create menu items in a drop-down menu that are not selectable? I want to add headers to different sections within a drop-down menu, for example:&#60;/p&#62;
&#60;p&#62;Students&#60;br /&#62;
Item 1&#60;br /&#62;
Item 2&#60;br /&#62;
Teachers&#60;br /&#62;
Item 1&#60;br /&#62;
Item 2&#60;/p&#62;
&#60;p&#62;Students and Teachers would be headings, but only the actual items would be selectable.
&#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>AlikA on "Reset a form on change of Group"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/make-a-complex-form-simple#post-308654</link>
			<pubDate>Fri, 07 Jun 2013 14:43:06 +0000</pubDate>
			<dc:creator>AlikA</dc:creator>
			<guid isPermaLink="false">308654@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello, I have a form that is divided into 3 groups.&#60;br /&#62;
I use the same elements across all the groups, but I would like to switch between the groups in such a way that the form is reset for every group. &#60;/p&#62;
&#60;p&#62;It is a Photography pricing form selling portraits:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[Traditional Portraits]
[Family Portraits]
[Creative Portraits]

Select Print Type   (dropdown)
¬ Canvas
¬ Poster
¬ Block Mount

SHOW this field if  ALL  of the following match:
[Select Print Type] is [Canvas]
Choose your Size   (dropdown)
¬ A4 - $10
¬ A3 - $20
¬ A2 - $30&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I guess I am just trying to find the best way to do this, - at current it works great, but the form will remain prepopulated if I change it and then move to the next form.&#60;br /&#62;
Thank you very much for your advice. you can see the form live here: &#60;a href=&#34;http://flashpoets.com/photography-service/&#34; rel=&#34;nofollow&#34;&#62;http://flashpoets.com/photography-service/&#60;/a&#62;  Then Click Portrait photography.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Joe on "Edit &#039;Select an option&#039; on drop-down"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/edit-select-an-option-on-drop-down#post-298416</link>
			<pubDate>Mon, 03 Jun 2013 04:26:14 +0000</pubDate>
			<dc:creator>Joe</dc:creator>
			<guid isPermaLink="false">298416@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to edit the text on a drop-down that says 'Select an option'?&#60;/p&#62;
&#60;p&#62;I'd like to change it so that it says 'Select a Date'&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Andrew on "Chosen.js change in version 1.7"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/chosenjs-change-in-version-17#post-235523</link>
			<pubDate>Fri, 03 May 2013 15:07:28 +0000</pubDate>
			<dc:creator>Andrew</dc:creator>
			<guid isPermaLink="false">235523@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Since I updated to the new version of GF, I have had a few users notice that the enhanced user interface on drop-down boxes highlight search results instead of filtering everything but the results out.&#60;/p&#62;
&#60;p&#62;The way it would normally work is here (on the first line):&#60;br /&#62;
&#60;a href=&#34;http://harvesthq.github.io/chosen/&#34; rel=&#34;nofollow&#34;&#62;http://harvesthq.github.io/chosen/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The way it works now is here:&#60;br /&#62;
&#60;a href=&#34;http://forms.wesleyanschool.org/drop-down-test/&#34; rel=&#34;nofollow&#34;&#62;http://forms.wesleyanschool.org/drop-down-test/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Is this a problem with my site or a change between versions?  If it is a change, is there any way to revert it to filtering?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jossoway on "Pre-populate a dynamically generated dropdown based on post title"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pre-populate-a-dynamically-generated-dropdown-based-on-post-title#post-172082</link>
			<pubDate>Fri, 15 Mar 2013 05:38:21 +0000</pubDate>
			<dc:creator>jossoway</dc:creator>
			<guid isPermaLink="false">172082@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;A client website I am working on has a job application form built using Gravity Forms. This form is displayed only on a WordPress custom post type called 'careers'. &#60;/p&#62;
&#60;p&#62;The form has a dropdown list of all currently available careers, which when selected changes the form options using conditional logic.&#60;/p&#62;
&#60;p&#62;Rather than someone having to manually edit this dropdown list, my client would like it to be pre-populated from all currently published 'careers' custom posts on the site. They would also like an item in the dropdown to be pre-selected, so that the selection matches the careers custom post title the form is currently being displayed on.&#60;/p&#62;
&#60;p&#62;I have just implemented the following for the first requirement and it works great:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Dynamically_Populating_Drop_Down_Fields&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;How would I extend this function to pre-select an option from the dropdown that matches the current custom post title?&#60;/p&#62;
&#60;p&#62;Thanks in advance!&#60;/p&#62;
&#60;p&#62;John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>conseo on "Dropdown box closes in Google Chrome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dropdown-box-closes-in-google-chrome#post-239409</link>
			<pubDate>Mon, 06 May 2013 03:19:51 +0000</pubDate>
			<dc:creator>conseo</dc:creator>
			<guid isPermaLink="false">239409@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there&#60;br /&#62;
I have a gravity form with a few dropdowns. The problem is that it doesn't work in Chrome. When ever a user visits my site with Chrome and selects something in the dropdown menu, it closes before you can select something?&#60;/p&#62;
&#60;p&#62;It works fine in FF?&#60;br /&#62;
Any ideas?&#60;/p&#62;
&#60;p&#62;The form: &#60;a href=&#34;http://www.larsbachmann.dk/seo-hvad-er-vigtigst.html&#34; rel=&#34;nofollow&#34;&#62;http://www.larsbachmann.dk/seo-hvad-er-vigtigst.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;thanks&#60;br /&#62;
Lars
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bridiej on "Drop down menus not working in Firefox"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-menus-not-working-in-firefox#post-239434</link>
			<pubDate>Mon, 06 May 2013 04:01:24 +0000</pubDate>
			<dc:creator>bridiej</dc:creator>
			<guid isPermaLink="false">239434@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've done a search but can't see that anyone else has reported this issue.&#60;/p&#62;
&#60;p&#62;For some reason the drop down menus aren't working in Firefox (seem find in Chrome). Any ideas please? Thanks. &#60;a href=&#34;http://www.bridiestypingservices.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.bridiestypingservices.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wearethenest on "[BUG] JS Error: Drop Down - Enhanced Interface"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/bug-js-error-drop-down-enhanced-interface#post-234207</link>
			<pubDate>Thu, 02 May 2013 20:24:45 +0000</pubDate>
			<dc:creator>wearethenest</dc:creator>
			<guid isPermaLink="false">234207@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Im not using this particular feature (at present) but I came across this bug as I was testing form styling of the various form fields to match my site's design.&#60;/p&#62;
&#60;p&#62;By process of elimination of the form fields that I had on the page at the time, I've identified the Drop Down field only when using the Enhanced Interface, as triggering the bug.&#60;/p&#62;
&#60;p&#62;It's throwing a JS error: TypeError: a.browser is undefined&#60;br /&#62;
/wp-content/plugins/gravityforms/js/chosen.jquery.min.js?ver=1.7.2&#60;/p&#62;
&#60;p&#62;Worth mentioning is that it also stopped all other JS on the page from functioning.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
