<?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: Pass Custom Validation Result In Query String</title>
		<link>https://legacy.forums.gravityhelp.com/topic/pass-custom-validation-result-in-query-string</link>
		<description>Gravity Support Forums Topic: Pass Custom Validation Result In Query String</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 01:40: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/pass-custom-validation-result-in-query-string" rel="self" type="application/rss+xml" />

		<item>
			<title>mrhoneyfoot on "Pass Custom Validation Result In Query String"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/pass-custom-validation-result-in-query-string#post-16978</link>
			<pubDate>Tue, 25 Jan 2011 11:26:46 +0000</pubDate>
			<dc:creator>mrhoneyfoot</dc:creator>
			<guid isPermaLink="false">16978@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;My goal is to redirect users to one of two pages using a query string. Similar to what Kevin Flahaut describes in post 3 of &#60;a href=&#34;http://forum.gravityhelp.com/topic/add-conditional-logic-to-submit-button&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/add-conditional-logic-to-submit-button&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;So far, so good. However, what I want to send through a query string is whether an input passed or failed a custom validation function. Basically the function (courtesy of the excellent David Smith) checks if a zipcode/postcode is present in an array of codes eligible for a service.&#60;/p&#62;
&#60;p&#62;What I want to do after this check is send the user to one of two pages based on validation:&#60;/p&#62;
&#60;p&#62;If YES code is in the array, then redirect user to page A, and a further awesome gravity form.&#60;br /&#62;
If No code isn't in the array, then go to page B, and be told that you aren't eligible.&#60;/p&#62;
&#60;p&#62;So how can you populate a query string based on a passed or failed custom validation function? Or can one redirect from the validation result result in the custom function itself? Anyone know if this is possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
