<?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: Quiz with conditional re-direct</title>
		<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct</link>
		<description>Gravity Support Forums Topic: Quiz with conditional re-direct</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:44:35 +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/quiz-with-conditional-re-direct" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Quiz with conditional re-direct"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct#post-67919</link>
			<pubDate>Wed, 25 Jul 2012 13:42:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67919@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is a little bit of an example I wrote a while back showing how to add the values and use them conditionally.  I used them to change the confirmation text, but you can use the same procedure to change the confirmation redirect URL.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/uz7VX2NP&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/uz7VX2NP&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Quiz with conditional re-direct"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct#post-67915</link>
			<pubDate>Wed, 25 Jul 2012 13:15:13 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67915@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You need to do the math in your theme's functions.php.  Your function will be hooked to the gform_confirmation filter.  So, when it comes time for the plugin to deal with the form confirmation, that filter is called, and your function says &#34;OK, add up the inputs from these radio button fields and if the result is:&#60;/p&#62;
&#60;p&#62;greater than 21, confirmation page one&#60;br /&#62;
greater than 14, confirmation page two&#60;br /&#62;
greater than 7, confirmation page three&#60;br /&#62;
default (less than 7), confirmation page four&#60;/p&#62;
&#60;p&#62;You can use a PHP case statement.  So, first, total the input values.  Second, change the confirmation page based on the aggregate score.  Third, return that confirmation page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>darrylo on "Quiz with conditional re-direct"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct#post-67909</link>
			<pubDate>Wed, 25 Jul 2012 13:00:14 +0000</pubDate>
			<dc:creator>darrylo</dc:creator>
			<guid isPermaLink="false">67909@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I understand the example for redirecting but how do I add up the field numbers and conditionally re-direct based on the total?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Quiz with conditional re-direct"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct#post-67759</link>
			<pubDate>Tue, 24 Jul 2012 16:07:20 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">67759@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can do this but it will require a bit of PHP added to your theme's functions.php.&#60;/p&#62;
&#60;p&#62;You can use radio buttons for your fields, and assign values to each of the radio button choices for each field. Then in your theme's functions.php, you can total all the radio button selections, and change the redirect URL based on the total.   You can use the gform_confirmation filter to change the redirect URL.  Please see the example here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_confirmation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_confirmation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>darrylo on "Quiz with conditional re-direct"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/quiz-with-conditional-re-direct#post-67733</link>
			<pubDate>Tue, 24 Jul 2012 11:26:48 +0000</pubDate>
			<dc:creator>darrylo</dc:creator>
			<guid isPermaLink="false">67733@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I need to re-create this quiz: &#60;a href=&#34;http://ecogenics.com/skincare_profile.htm&#34; rel=&#34;nofollow&#34;&#62;http://ecogenics.com/skincare_profile.htm&#60;/a&#62;&#60;br /&#62;
which I did using ASP. Each radio button choice is assigned a number 1-4 then added. The total redirects to one of 3 different pages.&#60;/p&#62;
&#60;p&#62;I thought I could do this based on the description of the latest Gravity forms update but I don't see field calculation options and the submit form redirect only takes a single URL. &#60;/p&#62;
&#60;p&#62;Is this possible?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
