<?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: Zip Code / State optional</title>
		<link>https://legacy.forums.gravityhelp.com/topic/zip-code-state-optional</link>
		<description>Gravity Support Forums Topic: Zip Code / State optional</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 17:57:25 +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/zip-code-state-optional" rel="self" type="application/rss+xml" />

		<item>
			<title>Mike Clark on "Zip Code / State optional"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-state-optional#post-31204</link>
			<pubDate>Fri, 29 Jul 2011 14:35:52 +0000</pubDate>
			<dc:creator>Mike Clark</dc:creator>
			<guid isPermaLink="false">31204@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi all, sorry to wake this sleeping thread, but I'm wondering if anyone has cracked this?&#60;/p&#62;
&#60;p&#62;I'm a new GF user looking for a way to make the address 'loosely' required; ie the user must input *something* in the address fields, but doesn't have to populate *all* the boxes. For instance, where I live in Wales I don't have a street name -- my address is just a house name, then the village ('city'), then the postcode/zip. This means it's impossible for me to fill out an address that is required.&#60;/p&#62;
&#60;p&#62;Am I going to have to build my own address fields manually, or is there a clever way of doing this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sc0ttkclark on "Zip Code / State optional"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-state-optional#post-18826</link>
			<pubDate>Thu, 17 Feb 2011 15:25:16 +0000</pubDate>
			<dc:creator>sc0ttkclark</dc:creator>
			<guid isPermaLink="false">18826@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;paulburd - exactly why I'm having to go through the additional effort. Some countries don't have states or provinces and/or postal codes
&#60;/p&#62;</description>
		</item>
		<item>
			<title>paulburd on "Zip Code / State optional"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-state-optional#post-18825</link>
			<pubDate>Thu, 17 Feb 2011 15:24:11 +0000</pubDate>
			<dc:creator>paulburd</dc:creator>
			<guid isPermaLink="false">18825@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm curious about this too. Ideally it would be nice if GF was smart enough to make those fields required or not-required based on the country that was selected.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sc0ttkclark on "Zip Code / State optional"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-state-optional#post-17238</link>
			<pubDate>Sat, 29 Jan 2011 13:38:05 +0000</pubDate>
			<dc:creator>sc0ttkclark</dc:creator>
			<guid isPermaLink="false">17238@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In an international form I'm building, the State / Province / Region field and Zip Code field are both optional in certain countries. If I mark an address group as required, is it possible to override the requirement for State / Zip via PHP (still passing a blank, but allowing it past the normal GF validation)?&#60;/p&#62;
&#60;p&#62;I think it might actually be related to the code I've been working with lately, the gform_validation filter, in which I need to check the is_valid value if it's false, and then check in the form&#38;gt;&#38;gt;fields&#38;gt;&#38;gt;field_id array if there's a failed validation / validation message set and override it if it's not a certain country. Figured I'd put my trek here in case anyone else comes across the same need.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
