<?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: single line text insert address variable</title>
		<link>https://legacy.forums.gravityhelp.com/topic/single-line-text-insert-address-variable</link>
		<description>Gravity Support Forums Topic: single line text insert address variable</description>
		<language>en-US</language>
		<pubDate>Sun, 12 Apr 2026 14:12:00 +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/single-line-text-insert-address-variable" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "single line text insert address variable"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/single-line-text-insert-address-variable#post-44037</link>
			<pubDate>Wed, 14 Dec 2011 15:37:47 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">44037@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got it working. Have fun!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gchinola on "single line text insert address variable"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/single-line-text-insert-address-variable#post-43962</link>
			<pubDate>Tue, 13 Dec 2011 17:59:12 +0000</pubDate>
			<dc:creator>gchinola</dc:creator>
			<guid isPermaLink="false">43962@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I added this to my functions.php and it's still coming back blank:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_pre_submission_3&#38;quot;, &#38;quot;pre_submission_handler&#38;quot;);
function pre_submission_handler($form){
    $_POST[&#38;quot;input_18&#38;quot;] = $_POST[&#38;quot;input_1.3&#38;quot;];
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;where field 18 is the hidden text field and 1.3 is the city part of the address field.&#60;/p&#62;
&#60;p&#62;Edit:&#60;br /&#62;
I went over some other related posts. I should have had &#34;input_1_3&#34;.  It's working now. Thank you for the help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "single line text insert address variable"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/single-line-text-insert-address-variable#post-43943</link>
			<pubDate>Tue, 13 Dec 2011 15:41:34 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">43943@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, gchinola,&#60;/p&#62;
&#60;p&#62;If you just want to update the hidden field on your form with the value of another field, you can use the hook &#34;gform_pre_submission&#34;. The documentation for this hook can be found at &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#60;/a&#62; .
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gchinola on "single line text insert address variable"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/single-line-text-insert-address-variable#post-43516</link>
			<pubDate>Thu, 08 Dec 2011 22:52:23 +0000</pubDate>
			<dc:creator>gchinola</dc:creator>
			<guid isPermaLink="false">43516@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I created a custom taxonomy called Location (nonhierarchical). The Gravity Forms + Custom Post type plugin lets set a single line text field where any user inputs would add to that taxonomy. &#60;/p&#62;
&#60;p&#62;What I want to do is have the text field hidden and pass the City value from an address field into the single line text field. &#60;/p&#62;
&#60;p&#62;I tried setting the default value to the &#60;code&#62;{Address (City):1.3}&#60;/code&#62; variable but the field came back empty.&#60;/p&#62;
&#60;p&#62;Can this be done another way?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
