<?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: validation rules that use answers from previous fields?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/validation-rules-that-use-answers-from-previous-fields</link>
		<description>Gravity Support Forums Topic: validation rules that use answers from previous fields?</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 03:42:11 +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/validation-rules-that-use-answers-from-previous-fields" rel="self" type="application/rss+xml" />

		<item>
			<title>sydeburn on "validation rules that use answers from previous fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-rules-that-use-answers-from-previous-fields#post-98889</link>
			<pubDate>Tue, 04 Dec 2012 17:12:35 +0000</pubDate>
			<dc:creator>sydeburn</dc:creator>
			<guid isPermaLink="false">98889@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;ok, thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "validation rules that use answers from previous fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-rules-that-use-answers-from-previous-fields#post-97052</link>
			<pubDate>Thu, 29 Nov 2012 17:15:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">97052@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It's not possible to do it in the form builder.  You can do it with the gform_validation filter though.  You would compare the $_POST value for the field where the answer to q1 exists to the value for the field of q2 to make sure that q2 is less than q1.  It can be done using the gform_validation filter and a function in your theme's functions.php.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sydeburn on "validation rules that use answers from previous fields?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/validation-rules-that-use-answers-from-previous-fields#post-97039</link>
			<pubDate>Thu, 29 Nov 2012 16:20:55 +0000</pubDate>
			<dc:creator>sydeburn</dc:creator>
			<guid isPermaLink="false">97039@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to build validation rules that use answers from previous fields?&#60;/p&#62;
&#60;p&#62;For example, q1 asks &#34;how many days per week does your program meet?&#34;. q2 then asks &#34;of those, how many days do you x?&#34;. I need validation on q2 that the answer be less than the value of q1. Is this possible? I looked at your gform validation hook but I can't tell if this would be possible.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
