<?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 Form Validation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation</link>
		<description>Gravity Support Forums Topic: Zip Code Form Validation</description>
		<language>en-US</language>
		<pubDate>Tue, 28 Apr 2026 18:45:45 +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-form-validation" rel="self" type="application/rss+xml" />

		<item>
			<title>redkite on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-27323</link>
			<pubDate>Wed, 08 Jun 2011 11:19:00 +0000</pubDate>
			<dc:creator>redkite</dc:creator>
			<guid isPermaLink="false">27323@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Found it, thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-27248</link>
			<pubDate>Tue, 07 Jun 2011 18:43:48 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">27248@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi redkite, each field has a custom validation message setting in the GF form admin. You can set that message to whatever you'd like.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>redkite on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-27239</link>
			<pubDate>Tue, 07 Jun 2011 17:48:44 +0000</pubDate>
			<dc:creator>redkite</dc:creator>
			<guid isPermaLink="false">27239@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to remove the 'Please enter a value between 00000 and 99999.' text below the zip code number field?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26941</link>
			<pubDate>Fri, 03 Jun 2011 17:12:50 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">26941@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Redkite,&#60;/p&#62;
&#60;p&#62;Here is the completed functional script: &#60;a href=&#34;http://pastie.org/2015527&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2015527&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would paste this in your theme's &#60;em&#62;functions.php&#60;/em&#62; file.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>redkite on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26934</link>
			<pubDate>Fri, 03 Jun 2011 16:11:23 +0000</pubDate>
			<dc:creator>redkite</dc:creator>
			<guid isPermaLink="false">26934@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;/p&#62;
&#60;p&#62;I'm having the same problem, I'm using the number field with min/max 0-99999 but need to have it accept only 5-digit entries. Where would I add that validate function?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26825</link>
			<pubDate>Thu, 02 Jun 2011 13:26:37 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">26825@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Muhacus,&#60;/p&#62;
&#60;p&#62;Thanks for bearing with me as we came back to square one. :)&#60;/p&#62;
&#60;p&#62;Try add a &#34;return true&#34; to your validate function like so:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/2009604&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2009604&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhacus on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26786</link>
			<pubDate>Thu, 02 Jun 2011 08:46:37 +0000</pubDate>
			<dc:creator>muhacus</dc:creator>
			<guid isPermaLink="false">26786@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes I do, That's why I was looking at custom validation once I realized that a lot of east coast zipcodes start with 0.&#60;/p&#62;
&#60;p&#62;So I need something that verify that the entry is 5 digits.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26742</link>
			<pubDate>Wed, 01 Jun 2011 16:07:18 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">26742@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Are you dealing with any zipcodes that start with zero? If not, try upping the range from 0 - 99999 to 10000 - 99999.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>muhacus on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26738</link>
			<pubDate>Wed, 01 Jun 2011 15:44:57 +0000</pubDate>
			<dc:creator>muhacus</dc:creator>
			<guid isPermaLink="false">26738@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;by Using the second method, I don't have an error message. However a zip code must be 5 digits. if someone enter a 3 digit number (ie.. 654 or 8756). the form will be process the wrong info.&#60;/p&#62;
&#60;p&#62;I want to make sure that a 5 digit number is enter (ie 07612).
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Zip Code Form Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/zip-code-form-validation#post-26722</link>
			<pubDate>Wed, 01 Jun 2011 12:57:14 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">26722@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep, that worked for me no problem: &#60;a href=&#34;http://grab.by/aggc&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/aggc&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Ditch the custom code and let me know what error message you are receiving.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
