<?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: drop down value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/drop-down-value</link>
		<description>Gravity Support Forums Topic: drop down value</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 00:56:52 +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/drop-down-value" rel="self" type="application/rss+xml" />

		<item>
			<title>espo_74 on "drop down value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-value#post-62582</link>
			<pubDate>Thu, 14 Jun 2012 12:58:11 +0000</pubDate>
			<dc:creator>espo_74</dc:creator>
			<guid isPermaLink="false">62582@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok. I am making progress on this.  my error was that I specified the form _4  but then did not specify the form on the input  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render_4&#38;quot;, &#38;quot;monitor_dropdown&#38;quot;);
function monitor_dropdown($form){

?&#38;gt;
    &#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    jQuery(document).ready(function(){

        jQuery(&#38;#39;#input_4_40&#38;#39;).bind(&#38;#39;change&#38;#39;, function()
        {
            //get selected value from drop down;
            var selectedValue = jQuery(&#38;quot;#input_4_40&#38;quot;).val();

            //populate a text field with the selected drop down value
            jQuery(&#38;quot;#input_4_61&#38;quot;).val(selectedValue);
        });
    });
    &#38;lt;/script&#38;gt;
&#38;lt;?php

return $form;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>espo_74 on "drop down value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-value#post-62574</link>
			<pubDate>Thu, 14 Jun 2012 11:50:01 +0000</pubDate>
			<dc:creator>espo_74</dc:creator>
			<guid isPermaLink="false">62574@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Still working on this issue, I have tried this function--thinking that bind('change', function() would monitor the dropdown and populate the field.  still no good. Any thoughts anyone?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_pre_render_4&#38;quot;, &#38;quot;monitor_dropdown&#38;quot;);
function monitor_dropdown($form){

?&#38;gt;
    &#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    jQuery(document).ready(function(){

        jQuery(&#38;#39;#input_40&#38;#39;).bind(&#38;#39;change&#38;#39;, function()
        {
            //get selected value from drop down;
            var selectedValue = jQuery(&#38;quot;#input_40&#38;quot;).val();

            //populate a text field with the selected drop down value
            jQuery(&#38;quot;#input_61&#38;quot;).val(selectedValue);
        });
    });
    &#38;lt;/script&#38;gt;
&#38;lt;?php

return $form;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>espo_74 on "drop down value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/drop-down-value#post-62475</link>
			<pubDate>Wed, 13 Jun 2012 17:00:37 +0000</pubDate>
			<dc:creator>espo_74</dc:creator>
			<guid isPermaLink="false">62475@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have been looking through the forums and haven't been able to find exactly what I am looking for...but I believe it is possible with some jquery and a little know-how (of which i dont have any right now). I am trying to get the info from a selected drop down to changed the data in the form, while the user is still on the form. I can do some of this with conditional logic, but the list I have is very large and subject to change which would mean a lot of conditions that would need to then be adjusted....basically: Get the selected drop down and have that choice display somewhere else on the form while the user is still filling the form out.&#60;/p&#62;
&#60;p&#62;Ideally:&#60;br /&#62;
I have a drop down menu which is populated from a taxonomy.  I would like to access the &#34;Label&#34; when the menu item is selected, I would also like to be able to access the &#34;Value&#34; of the selected menu item--by access these I mean insert them into the form at different spots.&#60;/p&#62;
&#60;p&#62;Scenario:&#60;br /&#62;
50 Items.&#60;br /&#62;
Each item will have 1-4 as a value.&#60;br /&#62;
your filter = {drop_down_label:57}&#60;br /&#62;
Each item name (label) will correspond to an image.&#60;br /&#62;
/img_{drop_down_label:1}.png&#60;/p&#62;
&#60;p&#62;I found a couple of other posts that did similar things to this (at least to grabbing the label) but they weren't quite accomplishing the same thing.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
