<?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: Hide &#34;United States&#34; when address type of US is selected</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hide-united-states-when-address-type-of-us-is-selected</link>
		<description>Gravity Support Forums Topic: Hide &quot;United States&quot; when address type of US is selected</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:15:44 +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/hide-united-states-when-address-type-of-us-is-selected" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Hide &#34;United States&#34; when address type of US is selected"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-united-states-when-address-type-of-us-is-selected#post-176090</link>
			<pubDate>Mon, 18 Mar 2013 22:37:37 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">176090@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;OK.  Good luck.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nes49 on "Hide &#34;United States&#34; when address type of US is selected"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-united-states-when-address-type-of-us-is-selected#post-175364</link>
			<pubDate>Mon, 18 Mar 2013 10:28:05 +0000</pubDate>
			<dc:creator>nes49</dc:creator>
			<guid isPermaLink="false">175364@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm still learning my way around Gravity Forms, and that was a helpful example.&#60;/p&#62;
&#60;p&#62;I may add this to the code I've already got to filter gform_confirmation (see this post:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/how-to-append-content-to-a-confirmation-page)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/how-to-append-content-to-a-confirmation-page)&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;or just live with it until 1.7.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Hide &#34;United States&#34; when address type of US is selected"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-united-states-when-address-type-of-us-is-selected#post-174759</link>
			<pubDate>Mon, 18 Mar 2013 00:29:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174759@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This will be much easier in 1.7 (currently in beta) with the new gform_notification filter: &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_notification&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_notification&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, until then, you can use the gform_merge_tag_filter &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_merge_tag_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_merge_tag_filter&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Insert this code into your theme's functions.php: &#60;a href=&#34;http://pastebin.com/0dx3ub0D&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/0dx3ub0D&#60;/a&#62;  The code presumes the address field is field 1, on line 6.  Change that to the field ID for your address field.&#60;/p&#62;
&#60;p&#62;There are a couple of shortcomings with this approach.  There is still a line-break added to the notification email.  This will apply to any instance of &#34;United States&#34; in any address field, when {all_fields} is used.  As I said, it will be easier and more possible to take care of cleanly in 1.7.  But for now, maybe this approach will work for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nes49 on "Hide &#34;United States&#34; when address type of US is selected"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-united-states-when-address-type-of-us-is-selected#post-174604</link>
			<pubDate>Sun, 17 Mar 2013 21:07:08 +0000</pubDate>
			<dc:creator>nes49</dc:creator>
			<guid isPermaLink="false">174604@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using your advanced Address field.&#60;br /&#62;
I set the address type to &#34;United States&#34; and the country text box doesn't appear on the form.&#60;/p&#62;
&#60;p&#62;However, &#34;United States&#34; does appear in the confirmation page (using {all_fields}).&#60;/p&#62;
&#60;p&#62;It doesn't seem to be wrapped with a CSS selector so I can hide it -- and it is redundant so I'd like to do that.&#60;/p&#62;
&#60;p&#62;Any suggestions? or is this a &#34;feature request&#34;?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
