<?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: Address Validation - space is ok ?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/address-validation-space-is-ok</link>
		<description>Gravity Support Forums Topic: Address Validation - space is ok ?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 15:07:31 +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/address-validation-space-is-ok" rel="self" type="application/rss+xml" />

		<item>
			<title>David Peralty on "Address Validation - space is ok ?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/address-validation-space-is-ok#post-87769</link>
			<pubDate>Mon, 05 Nov 2012 23:42:13 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">87769@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could use the following hook and some PHP to test for various things including spaces or less than any number of characters:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tcs on "Address Validation - space is ok ?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/address-validation-space-is-ok#post-87757</link>
			<pubDate>Mon, 05 Nov 2012 23:16:02 +0000</pubDate>
			<dc:creator>tcs</dc:creator>
			<guid isPermaLink="false">87757@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have received form submissions with customers who don't complete full address details. &#60;/p&#62;
&#60;p&#62;In my setup I hide address line 2, State Province Region and the Country field.&#60;/p&#62;
&#60;p&#62;So I am left with Address Line 1, City and Zip code.&#60;/p&#62;
&#60;p&#62;With the field set to required customers can simply enter1 character in the address line and then spaces in the other fields and this passes validation.&#60;/p&#62;
&#60;p&#62;Can the address line be validated to so it has more than 1 character (most addresses are more than 1 character!) and can the other fields have spaces stripped at the beginning and end so that if a customer just enters a space they get caught out.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
