<?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 address fields</title>
		<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields</link>
		<description>Gravity Support Forums Topic: Changing address fields</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 19:25:36 +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-address-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>mveale on "Changing address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields#post-82691</link>
			<pubDate>Mon, 22 Oct 2012 13:22:57 +0000</pubDate>
			<dc:creator>mveale</dc:creator>
			<guid isPermaLink="false">82691@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ive created this for irish addresses.. you can just add this to the themes functions.php file&#60;/p&#62;
&#60;p&#62;Note: but Im also looking for a way to simply remove zip / postal code.&#60;br /&#62;
my issue is that the address field is required so even hiding it via css doesnt work and causes a validation error.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_address_types&#38;quot;, &#38;quot;irish_address&#38;quot;, 10, 2);
function irish_address($address_types, $form_id){
$address_types[&#38;quot;irish&#38;quot;] = array(
&#38;quot;label&#38;quot; =&#38;gt; &#38;quot;Irish&#38;quot;,
&#38;quot;country&#38;quot; =&#38;gt; &#38;quot;Ireland&#38;quot;,
&#38;quot;zip_label&#38;quot; =&#38;gt; &#38;quot;Postcode&#38;quot;,
&#38;quot;state_label&#38;quot; =&#38;gt; &#38;quot;County&#38;quot;,
&#38;quot;states&#38;quot; =&#38;gt; array(&#38;quot;Antrim&#38;quot;=&#38;gt;&#38;quot;Antrim&#38;quot;,&#38;quot;Armagh&#38;quot;=&#38;gt;&#38;quot;Armagh&#38;quot;,&#38;quot;Carlow&#38;quot;=&#38;gt;&#38;quot;Carlow&#38;quot;,&#38;quot;Cavan&#38;quot;=&#38;gt;&#38;quot;Cavan&#38;quot;,&#38;quot;Clare&#38;quot;=&#38;gt;&#38;quot;Clare&#38;quot;,&#38;quot;Cork&#38;quot;=&#38;gt;&#38;quot;Cork&#38;quot;,&#38;quot;Derry&#38;quot;=&#38;gt;&#38;quot;Derry&#38;quot;,&#38;quot;Donegal&#38;quot;=&#38;gt;&#38;quot;Donegal&#38;quot;,&#38;quot;Down&#38;quot;=&#38;gt;&#38;quot;Down&#38;quot;,&#38;quot;Dublin&#38;quot;=&#38;gt;&#38;quot;Dublin&#38;quot;,&#38;quot;Fermanagh&#38;quot;=&#38;gt;&#38;quot;Fermanagh&#38;quot;,&#38;quot;Galway&#38;quot;=&#38;gt;&#38;quot;Galway&#38;quot;,&#38;quot;Kerry&#38;quot;=&#38;gt;&#38;quot;Kerry&#38;quot;,&#38;quot;Kildare&#38;quot;=&#38;gt;&#38;quot;Kildare&#38;quot;, &#38;quot;Kilkenny&#38;quot;=&#38;gt;&#38;quot;Kilkenny&#38;quot;,&#38;quot;Laois&#38;quot;=&#38;gt;&#38;quot;Laois&#38;quot;,&#38;quot;Leitrim&#38;quot;=&#38;gt;&#38;quot;Leitrim&#38;quot;,&#38;quot;Limerick&#38;quot;=&#38;gt;&#38;quot;Limerick&#38;quot;,&#38;quot;Longford&#38;quot;=&#38;gt;&#38;quot;Longford&#38;quot;,&#38;quot;Louth&#38;quot;=&#38;gt;&#38;quot;Louth&#38;quot;,&#38;quot;Mayo&#38;quot;=&#38;gt;&#38;quot;Mayo&#38;quot;,&#38;quot;Meath&#38;quot;=&#38;gt;&#38;quot;Meath&#38;quot;,&#38;quot;Monaghan&#38;quot;=&#38;gt;&#38;quot;Monaghan&#38;quot;,&#38;quot;Offaly&#38;quot;=&#38;gt;&#38;quot;Offaly&#38;quot;,&#38;quot;Roscommon&#38;quot;=&#38;gt;&#38;quot;Roscommon&#38;quot;,&#38;quot;Sligo&#38;quot;=&#38;gt;&#38;quot;Sligo&#38;quot;,&#38;quot;Tipperary&#38;quot;=&#38;gt;&#38;quot;Tipperary&#38;quot;,&#38;quot;Tyrone&#38;quot;=&#38;gt;&#38;quot;Tyrone&#38;quot;,&#38;quot;Waterford&#38;quot;=&#38;gt;&#38;quot;Waterford&#38;quot;,&#38;quot;Westmeath&#38;quot;=&#38;gt;&#38;quot;Westmeath&#38;quot;,&#38;quot;Wexford&#38;quot;=&#38;gt;&#38;quot;Wexford&#38;quot;,&#38;quot;Wicklow&#38;quot;=&#38;gt;&#38;quot;Wicklow&#38;quot;)
);
return $address_types;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>lerizzle on "Changing address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields#post-47233</link>
			<pubDate>Tue, 24 Jan 2012 14:40:47 +0000</pubDate>
			<dc:creator>lerizzle</dc:creator>
			<guid isPermaLink="false">47233@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Would there be a hook to simply remove zip from a canadian address. I don't care about the zip but I need the address to be required. Simply using css will fail the validation no?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields#post-26379</link>
			<pubDate>Thu, 26 May 2011 11:19:17 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">26379@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@dochara Unfortunately we can't take into account all address formats across all countries.  The international format is designed to take into account most usage across the globe.  The sublabels on the Address field can be customized using WordPress filters.  So you can change &#34;state/province/region&#34; to &#34;Counties&#34; if that is what you want to do using the available filters.&#60;/p&#62;
&#60;p&#62;Here is a list of all the advanced field sublabel filters:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs#Sublabels&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs#Sublabels&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Currently there is not a way to hide the zip code field, you would have to use CSS to set that element to display: none; by adding custom CSS to your themes stylesheet.&#60;/p&#62;
&#60;p&#62;There is also a hook available that lets you create your own custom Address type.  You can find information on it here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_address_types&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_address_types&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>davidpg on "Changing address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields#post-26359</link>
			<pubDate>Thu, 26 May 2011 05:25:26 +0000</pubDate>
			<dc:creator>davidpg</dc:creator>
			<guid isPermaLink="false">26359@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm sure the GF team will provide a more technical way to solve this but here's what I would do. Using the standard and advance fields I would just build my own address section. To replicate the look of the default address option I would then use the CSS Ready Classes to aligning the fields.&#60;br /&#62;
Here's documentation about CSS Ready Classes:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/CSS_Ready_Classes&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dochara on "Changing address fields"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-address-fields#post-26335</link>
			<pubDate>Wed, 25 May 2011 18:07:52 +0000</pubDate>
			<dc:creator>dochara</dc:creator>
			<guid isPermaLink="false">26335@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm in Ireland. We don't have ZIP codes at all. I've a site that only serves Ireland and would like to use the address layout, but no zip. &#60;/p&#62;
&#60;p&#62;Also, the naming  of other fields is a bit... foreign. &#60;/p&#62;
&#60;p&#62;We don't have states, provinces are irrelevant as are regions - counties on the other hand are important. Anyway to change the language there?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
