<?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 add Multiple Confirmation Redirects?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects</link>
		<description>Gravity Support Forums Topic: Can I add Multiple Confirmation Redirects?</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:44:54 +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-add-multiple-confirmation-redirects" rel="self" type="application/rss+xml" />

		<item>
			<title>vi on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-53785</link>
			<pubDate>Thu, 29 Mar 2012 14:45:57 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">53785@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm still wrestling with one form before we go live. Can someone please help me? I have exported for form and can send it along with the redirect.php file. It will make a good example for others of a conditional redirect once it works. I'm sure it's something small that you guys will figure out in a heartbeat. The form is processing/submitting but not giving me the confirmation page. Thanks so much!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vi on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-53397</link>
			<pubDate>Sun, 25 Mar 2012 18:54:54 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">53397@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David,&#60;br /&#62;
Thanks for your help on this a while back. We are about to go live with the new site and I still have a problem with this redirect. I am getting:&#60;/p&#62;
&#60;p&#62;Fatal error: Call to undefined function add_filter() in /home/vitsandb/public_html/wp-content/themes/vi/gform_redirect.php on line 3&#60;/p&#62;
&#60;p&#62;Can you please take a look and let me know what you think? If you want access to the site, I can give it to you - just email jean at visual-integrity.com.&#60;/p&#62;
&#60;p&#62;Thanks a million!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-35891</link>
			<pubDate>Wed, 21 Sep 2011 15:35:22 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">35891@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms may be adding the question mark on the end because the confirmation redirect option typically includes query string parameters that come after the question mark.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>divydovy on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-35882</link>
			<pubDate>Wed, 21 Sep 2011 13:50:45 +0000</pubDate>
			<dc:creator>divydovy</dc:creator>
			<guid isPermaLink="false">35882@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Quick one. Thanks for the snippets here.&#60;/p&#62;
&#60;p&#62;I've modified this for a simple 'choose URL by select box value':&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// Custom redirect for GF
function custom_redirect_url($form){

    // update the &#38;quot;1&#38;quot; after &#38;quot;input_&#38;quot; to the ID of your field
	$destination = $_POST[&#38;#39;input_11&#38;#39;];
    $form[&#38;#39;confirmation&#38;#39;][&#38;#39;url&#38;#39;] = &#38;#39;http://www.mysite.com/&#38;#39; . $destination;

    // return the modified form
    return $form;
}
add_filter(&#38;#39;gform_pre_submission_filter_2&#38;#39;, &#38;#39;custom_redirect_url&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;For some reason the destination URL always comes out with a question mark (?) at the end. Any ideas?&#60;/p&#62;
&#60;p&#62;Cheers,&#60;/p&#62;
&#60;p&#62;David&#60;/p&#62;
&#60;p&#62;PS I know, lots of posts recently - thanks for your responses. FWIW I'm selling lots of developer licenses for you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Bedhead on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-17417</link>
			<pubDate>Tue, 01 Feb 2011 13:35:45 +0000</pubDate>
			<dc:creator>Bedhead</dc:creator>
			<guid isPermaLink="false">17417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;David, When I try duplicating your first example I get the following error after hitting submit: &#60;/p&#62;
&#60;p&#62;Fatal error: Call to undefined function add_filter() in /home/website/public_html/testing/redirect.php on line 4&#60;/p&#62;
&#60;p&#62;I've changed the gform_pre_submission_filter_ value to 1 since it is my only form.&#60;/p&#62;
&#60;p&#62;Any idea?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-16432</link>
			<pubDate>Mon, 17 Jan 2011 15:11:56 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yup, pretty easy too! :)&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1470865&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1470865&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;We'll keep things simple and assume that by default your form is setup to use a text confirmation. Now the updated code snippet above checks if a format is selected, because if a format is selected you know that they chose the &#34;I'll upload a sample PDF file...&#34; option. If a format is selected, it changes the type of the confirmation to a redirect and then sorts through the rest of the code to determine what the URL will be.&#60;/p&#62;
&#60;p&#62;Good luck! :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vi on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-16431</link>
			<pubDate>Mon, 17 Jan 2011 14:58:57 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">16431@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks! I get the logic on that. My form has an extra fork to deal with though and I'm not sure what tos do. Maybe I am trying to do too much with one form. Basically,we offer 1) eval or 2) upload test file. If eval, which product? When they choose, we want them to go to the correct product download page. The PHP that you suggested takes care of that - but, if they choose test file, we want the confirmation to give a text message &#34;Thanks for uploading a test file. We'll get the results back to you shortly&#34;. You can see the form on our sandbox site - &#60;a href=&#34;http://vit-sandbox.com/store/try/&#34; rel=&#34;nofollow&#34;&#62;http://vit-sandbox.com/store/try/&#60;/a&#62;.&#60;br /&#62;
Can I do what I want to do?&#60;br /&#62;
Thanks!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-16425</link>
			<pubDate>Mon, 17 Jan 2011 13:11:42 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16425@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Given a multiple choice field that is configured like this: &#60;a href=&#34;http://grab.by/8qpE&#34; rel=&#34;nofollow&#34;&#62;http://grab.by/8qpE&#60;/a&#62; -- Here is the code that would allow you to make each option have a unique redirect:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/1470436&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1470436&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I've included some notes in the code snippet. Let me know if you have any questions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>vi on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-16415</link>
			<pubDate>Mon, 17 Jan 2011 10:12:29 +0000</pubDate>
			<dc:creator>vi</dc:creator>
			<guid isPermaLink="false">16415@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Has anyone written a sample PHP script to drive multiple confirmations? We have several products and were trying to just have one eval form with conditional logic. Depending on which product they say they want to eval, we want the form to end up presenting them that download link. Thanks!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Can I add Multiple Confirmation Redirects?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/can-i-add-multiple-confirmation-redirects#post-7010</link>
			<pubDate>Mon, 05 Jul 2010 17:07:55 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">7010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Gravity Forms doesn't currently have conditional confirmation redirects as a feature.  It is a feature we do plan on adding.&#60;/p&#62;
&#60;p&#62;It is possible to this by creating a custom redirect page that your form redirects to.  You would create a PHP page that acts as your custom redirector, set your form up to redirect to this page and pass the form field value you want to redirect based on, and then write code in your custom redirector to redirect to the appropriate location based on the form field value that is passed.  This is possible using the built in custom redirect functionality.  It's a customization so you would have to write the code to do the actual redirect but Gravity Forms can redirect to your custom page and pass the form field value if you tell it to using the Confirmation settings in the form builder.&#60;/p&#62;
&#60;p&#62;If you are doing a redirect based on a user selection I would suggest using a drop down and not checkboxes.  Otherwise if you use checkboxes, they are multi-select so how would you know where the redirect is supposed to go as a redirect would be a one to one relationship?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
