<?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: Can I use the gform_field_validation hook twice to validate two fields?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields</link>
		<description>Gravity Support Forums Topic: Can I use the gform_field_validation hook twice to validate two fields?</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:27: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/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>petitshoo on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56859</link>
			<pubDate>Fri, 27 Apr 2012 19:13:43 +0000</pubDate>
			<dc:creator>petitshoo</dc:creator>
			<guid isPermaLink="false">56859@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The code doesn't work in functions.php like it did in form_display.php.  No validation is happening.  Is there a particular place within functions.php I should be pasting it?  I pasted it at the bottom within in the &#38;lt;?php   (I put code here)  }?&#38;gt; that was at the very bottom of the page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56858</link>
			<pubDate>Fri, 27 Apr 2012 19:03:55 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">56858@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Should be able to. I'm not exactly sure though as I've never personally done it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>petitshoo on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56857</link>
			<pubDate>Fri, 27 Apr 2012 18:49:33 +0000</pubDate>
			<dc:creator>petitshoo</dc:creator>
			<guid isPermaLink="false">56857@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;And should I be able to use it twice in functions.php?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56856</link>
			<pubDate>Fri, 27 Apr 2012 18:44:55 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">56856@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It doesn't belong in form_display.php. It should be in your theme's functions.php file (if this file doesn't exist, you'll need to create it) &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Where_Do_I_Put_This_Code%3F&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>petitshoo on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56853</link>
			<pubDate>Fri, 27 Apr 2012 18:16:16 +0000</pubDate>
			<dc:creator>petitshoo</dc:creator>
			<guid isPermaLink="false">56853@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here's the code again:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/97GfDfTH&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/97GfDfTH&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I used it at the bottom of my form_display.php&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56410</link>
			<pubDate>Tue, 24 Apr 2012 16:00:04 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">56410@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Looks like pastie.org is down - can you paste/supply your code here or try &#60;a href=&#34;http://pastebin.com/&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/&#60;/a&#62; perhaps?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>petitshoo on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56117</link>
			<pubDate>Sat, 21 Apr 2012 23:31:19 +0000</pubDate>
			<dc:creator>petitshoo</dc:creator>
			<guid isPermaLink="false">56117@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there anybody at all out there??  Here's the code I'm using:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/3831652.js&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/3831652.js&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The promotion starts tomorrow and I need to get this resolved.  When I use this code twice (changing the database parameters and the field id and form id) it completely takes down my whole site.  Please can someone tell me if there is a way to do two custom field validations?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>petitshoo on "Can I use the gform_field_validation hook twice to validate two fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-use-the-gform_field_validation-hook-twice-to-validate-two-fields#post-56112</link>
			<pubDate>Sat, 21 Apr 2012 19:38:46 +0000</pubDate>
			<dc:creator>petitshoo</dc:creator>
			<guid isPermaLink="false">56112@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I have fields on different forms that need to have custom validation.  When I use the form_field_validation code twice in the form_display.php, it makes the whole site no longer visible and I can't access the Wordpress admin panel.  &#60;/p&#62;
&#60;p&#62;How can I do this?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
