<?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: Redirect to a page and display form&#039;s confirmation message on that page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page</link>
		<description>Gravity Support Forums Topic: Redirect to a page and display form&#039;s confirmation message on that page</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 04:11:17 +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/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page" rel="self" type="application/rss+xml" />

		<item>
			<title>dashaluna on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-176647</link>
			<pubDate>Tue, 19 Mar 2013 07:59:29 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">176647@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello David,&#60;/p&#62;
&#60;p&#62;Session works well with the gform_pre_submission hook.&#60;/p&#62;
&#60;p&#62;I'm still a bit unclear why the global didn't work.. if you could explain it that would be great, would be nice to learn. No worries if you're too busy.&#60;/p&#62;
&#60;p&#62;Many thanks, Dasha
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dashaluna on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-176636</link>
			<pubDate>Tue, 19 Mar 2013 07:49:42 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">176636@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello David,&#60;/p&#62;
&#60;p&#62;Thanks for letting me know. Hmm, I'm really confused now, I'm using &#60;code&#62;gform_pre_submission&#60;/code&#62; hook, but the global doesn't have any values after the redirect. I'd thought because it's a global variable, it will have the value saved after the redirect.&#60;/p&#62;
&#60;p&#62;I will try session..&#60;/p&#62;
&#60;p&#62;Many thanks, Dasha
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-175497</link>
			<pubDate>Mon, 18 Mar 2013 12:28:58 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">175497@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I don't think it will work this way. You could use the pre-submission hook to push all the submitted details to session variables or a cookie and use PHP to pull those details on the page you've redirected them to.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dashaluna on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-175465</link>
			<pubDate>Mon, 18 Mar 2013 12:02:47 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">175465@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello David,&#60;/p&#62;
&#60;p&#62;Thank you for letting me know.&#60;br /&#62;
I was trying to use a global, so it will be set after the form goes through &#60;code&#62;gform_confirmation&#60;/code&#62; filter. Something like that:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;global $gf_data;
$gf_data = &#38;quot;&#38;quot;;
add_filter(&#38;quot;gform_confirmation_2&#38;quot;, &#38;quot;add_story_custom_confirmation&#38;quot;, 10, 4);
function add_story_custom_confirmation( $confirmation, $form, $lead, $ajax ){
	global $gf_data;

	$gf_data .= &#38;quot;Thank you for submitting a story. We will be in touch soon.&#38;quot;;
    return $confirmation;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Than in the template that a visitor redirected to I'm displaying the global &#60;code&#62;$gf_data&#60;/code&#62; as:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;global $gf_data;
echo &#38;quot;&#38;lt;h1&#38;gt;GF DATA&#38;lt;/h1&#38;gt;&#38;quot;;
echo $gf_data;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I've tested and the global &#60;code&#62;$gf_data&#60;/code&#62; is setup in the filter before &#60;code&#62;return $confirmation&#60;/code&#62;. However, it doesn't seem to appear on the page template.&#60;/p&#62;
&#60;p&#62;I was wondering if such work around will be possible, perhaps, I'm missing something out? Or this is not possible at all?&#60;/p&#62;
&#60;p&#62;I would appreciate your help.&#60;br /&#62;
Many thanks, Dasha
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-175417</link>
			<pubDate>Mon, 18 Mar 2013 11:09:24 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">175417@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The page you would be sending the user to would be outside of Gravity Forms' control, and as such, you would have to use query strings to pass data to that page.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dashaluna on "Redirect to a page and display form&#039;s confirmation message on that page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/redirect-to-a-page-and-display-forms-confirmation-message-on-that-page#post-175394</link>
			<pubDate>Mon, 18 Mar 2013 10:43:18 +0000</pubDate>
			<dc:creator>dashaluna</dc:creator>
			<guid isPermaLink="false">175394@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;Apologies if this was asked before, I couldn't find an exact question.&#60;/p&#62;
&#60;p&#62;I would like to redirect a visitor on submitting a form to a WP page and also display that form's confirmation message (before other page info). This WP page is also accessible by itself. However, I only want to display the form's confirmation message on that page if it was redirected to after submitting a form. Ideally, I don't want to use URL parameters.&#60;/p&#62;
&#60;p&#62;Can I add some code to a page template or do it via hooks somehow?&#60;/p&#62;
&#60;p&#62;Many thanks, Dasha
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
