<?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: Changing default values of text field based on dropdown selection</title>
		<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection</link>
		<description>Gravity Support Forums Topic: Changing default values of text field based on dropdown selection</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 09:06:23 +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/changing-default-values-of-text-field-based-on-dropdown-selection" rel="self" type="application/rss+xml" />

		<item>
			<title>caseym on "Changing default values of text field based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection#post-29416</link>
			<pubDate>Thu, 07 Jul 2011 18:42:14 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">29416@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;mor10,&#60;/p&#62;
&#60;p&#62;I figured most of this out:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pcsreports.com/survey-single&#34; rel=&#34;nofollow&#34;&#62;http://pcsreports.com/survey-single&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;and posted the code here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/zhACadFU&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/zhACadFU&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Casey
&#60;/p&#62;</description>
		</item>
		<item>
			<title>caseym on "Changing default values of text field based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection#post-28870</link>
			<pubDate>Thu, 30 Jun 2011 10:35:21 +0000</pubDate>
			<dc:creator>caseym</dc:creator>
			<guid isPermaLink="false">28870@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;mor10,&#60;/p&#62;
&#60;p&#62;I'm trying to do the exact thing with my form. I want the user to select their city in a dropdown, then have the google map center on that city so they can select their neighborhood. &#60;/p&#62;
&#60;p&#62;I've got several ideas on how to implement this but haven't accomplished it yet. I'll let you  know if I figure it out!&#60;/p&#62;
&#60;p&#62;Casey
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mor10 on "Changing default values of text field based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection#post-23416</link>
			<pubDate>Fri, 15 Apr 2011 15:37:08 +0000</pubDate>
			<dc:creator>mor10</dc:creator>
			<guid isPermaLink="false">23416@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's what I thought. Just wanted to make sure I wasn't missing some clever workaround. Thanks for the quick response.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing default values of text field based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection#post-23415</link>
			<pubDate>Fri, 15 Apr 2011 15:30:55 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23415@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The only way you could do this if you don't want to do it with PHP is with custom jQuery and attach an event to that drop down using jQuery that then populate the lat/long field.  Doing it with PHP is probably the better option.  Either way it's not a built in feature so it's going to have to be done as a customization with external code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mor10 on "Changing default values of text field based on dropdown selection"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-default-values-of-text-field-based-on-dropdown-selection#post-23412</link>
			<pubDate>Fri, 15 Apr 2011 15:22:44 +0000</pubDate>
			<dc:creator>mor10</dc:creator>
			<guid isPermaLink="false">23412@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form in which visitors can set their home municipality (dynamic dropdown populated by custom taxonomy) and also a more exact map location using the WP Geo plugin and two hidden fields (lat and long) as per a tutorial somewhere else in the forum. It's working fine but it requires all visitors to manually enter their location. Not an ideal user experience.&#60;/p&#62;
&#60;p&#62;I want to set the form up so that the lat and long fields are populated dynamically based on the municipality dropdown. I can of course do this after the post has been submitted with PHP but it would be better to have the change take place before the submission happens. Because I'm not managing the day-to-day operations of the site I would like this operation to be handled without external code in functions.php or elsewhere but I can't see an easy way of doing it. So if there is, please let me know.&#60;/p&#62;
&#60;p&#62;Morten
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
