<?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: Custom Field Validation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-field-validation-1</link>
		<description>Gravity Support Forums Topic: Custom Field Validation</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:49:24 +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/custom-field-validation-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Alex Cancado on "Custom Field Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-validation-1#post-54607</link>
			<pubDate>Mon, 09 Apr 2012 10:54:41 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">54607@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The problem was the function stringrpl() was being declared inside the is_postuk() function and that was creating a multiple declaration error when the is_postuk() function was executed more than once. Also, there is an easier hook to use for your scenario (gform_field_validation). The following code snippet should do the trick for you.&#60;br /&#62;
Let me know if not.&#60;br /&#62;
&#60;a href=&#34;http://pastie.org/3755939&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3755939&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>NickyJ on "Custom Field Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-validation-1#post-54524</link>
			<pubDate>Sat, 07 Apr 2012 07:45:02 +0000</pubDate>
			<dc:creator>NickyJ</dc:creator>
			<guid isPermaLink="false">54524@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Code and functions are here: &#60;a href=&#34;http://pastie.org/3744219&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3744219&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Form test page can be found here : &#60;a href=&#34;http://www.brproperty.co.uk/formtest/&#34; rel=&#34;nofollow&#34;&#62;http://www.brproperty.co.uk/formtest/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Custom Field Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-validation-1#post-54481</link>
			<pubDate>Fri, 06 Apr 2012 15:47:53 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">54481@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you post the code you used here using pastie or something similar and a link to your form?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>NickyJ on "Custom Field Validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-field-validation-1#post-54437</link>
			<pubDate>Fri, 06 Apr 2012 05:44:47 +0000</pubDate>
			<dc:creator>NickyJ</dc:creator>
			<guid isPermaLink="false">54437@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi all,&#60;/p&#62;
&#60;p&#62;I have a UK post code field (new postcode) on a form and am validating it using the validation_hook (as per VIN example). The validation works fine for the field (new postcode).&#60;/p&#62;
&#60;p&#62;Now I've added another field (old postcode) assigned the cssClass to validate-postcode as per new postcode field, now when I submit the form the pre-loader just spins and forms does not submit.&#60;/p&#62;
&#60;p&#62;So 1 field works fine, now 2 fields and form breaks? Any ideas ?&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
