<?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: validating using gform_validation_Hook</title>
		<link>https://legacy.forums.gravityhelp.com/topic/validating-using-gform_validation_hook</link>
		<description>Gravity Support Forums Topic: validating using gform_validation_Hook</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 10:18:05 +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/validating-using-gform_validation_hook" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "validating using gform_validation_Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validating-using-gform_validation_hook#post-32422</link>
			<pubDate>Fri, 12 Aug 2011 15:13:18 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32422@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is the validation for each of your 20 fields different, the same, or a mix? If it's the same you could write a reusable function that you use when validating a field.  You should be able to use the gform_validation hook to validate multiple fields at once, it all depends on how you write the code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SqueezeDigltal on "validating using gform_validation_Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validating-using-gform_validation_hook#post-32368</link>
			<pubDate>Fri, 12 Aug 2011 06:19:55 +0000</pubDate>
			<dc:creator>SqueezeDigltal</dc:creator>
			<guid isPermaLink="false">32368@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Each field has different validation.&#60;br /&#62;
You can see 2 here: &#60;a href=&#34;http://pastie.org/2360402&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/2360402&#60;/a&#62;&#60;br /&#62;
So if i continue down this road i will keep repeating the same code 20 times but with a different function for each. Is there are cleaner, less cumbersome way of doing this?&#60;br /&#62;
My form is a 4 page form and can be found: &#60;a href=&#34;http://dev.wantapaydayloan.co.uk/apply-now/&#34; rel=&#34;nofollow&#34;&#62;http://dev.wantapaydayloan.co.uk/apply-now/&#60;/a&#62;&#60;br /&#62;
Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "validating using gform_validation_Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validating-using-gform_validation_hook#post-32295</link>
			<pubDate>Thu, 11 Aug 2011 14:09:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32295@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Does the same validation need to apply to each field?  Please post more details of your setup, and the code you are using for validation.  Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SqueezeDigltal on "validating using gform_validation_Hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validating-using-gform_validation_hook#post-32282</link>
			<pubDate>Thu, 11 Aug 2011 09:38:06 +0000</pubDate>
			<dc:creator>SqueezeDigltal</dc:creator>
			<guid isPermaLink="false">32282@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
I followed your documentation for the validation hook and have got it working for one field, thanks.&#60;br /&#62;
My form has about 20 fields that need custom validation, would i need to re-write the entire code for each field?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
