<?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: Define two forms in gform_validation filter</title>
		<link>https://legacy.forums.gravityhelp.com/topic/define-two-forms-in-gform_validation-filter</link>
		<description>Gravity Support Forums Topic: Define two forms in gform_validation filter</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 16:35:42 +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/define-two-forms-in-gform_validation-filter" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Define two forms in gform_validation filter"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/define-two-forms-in-gform_validation-filter#post-44055</link>
			<pubDate>Wed, 14 Dec 2011 18:26:09 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">44055@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;My pleasure. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BIGLIFE on "Define two forms in gform_validation filter"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/define-two-forms-in-gform_validation-filter#post-44054</link>
			<pubDate>Wed, 14 Dec 2011 18:25:28 +0000</pubDate>
			<dc:creator>BIGLIFE</dc:creator>
			<guid isPermaLink="false">44054@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome David! Thx so much that worked great!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Define two forms in gform_validation filter"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/define-two-forms-in-gform_validation-filter#post-44053</link>
			<pubDate>Wed, 14 Dec 2011 18:13:47 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">44053@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;gform_validation&#60;/a&#62; hook is passed the $validation_result variable. This contains the $form object as the &#34;form&#34; property:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$form = $validation_result[&#38;quot;form&#38;quot;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Here is more thorough walk-through of this hook that might help:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_validation%22_Hook&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once you've retrieved the $form object from the $validation_result, you're original logic would work. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BIGLIFE on "Define two forms in gform_validation filter"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/define-two-forms-in-gform_validation-filter#post-44051</link>
			<pubDate>Wed, 14 Dec 2011 18:10:07 +0000</pubDate>
			<dc:creator>BIGLIFE</dc:creator>
			<guid isPermaLink="false">44051@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to define two forms within the gform_validation filter.  How might I call out the form ID since its not one of the function variables? I was trying an if/elseif statement (if($form['id'] = XX) but since the $form variable isn't called its giving the &#34;Oops! We could not locate your form.&#34; error. any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
