<?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: Custom Thank You - Confirmation Message - None</title>
		<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none</link>
		<description>Gravity Support Forums Topic: Custom Thank You - Confirmation Message - None</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 18:19: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/custom-thank-you-confirmation-message-none" rel="self" type="application/rss+xml" />

		<item>
			<title>CSWebadmin on "Custom Thank You - Confirmation Message - None"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none#post-210403</link>
			<pubDate>Mon, 15 Apr 2013 13:34:57 +0000</pubDate>
			<dc:creator>CSWebadmin</dc:creator>
			<guid isPermaLink="false">210403@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi guys,&#60;/p&#62;
&#60;p&#62;actually this didnt worked up why ??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Travis on "Custom Thank You - Confirmation Message - None"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none#post-18057</link>
			<pubDate>Wed, 09 Feb 2011 12:58:03 +0000</pubDate>
			<dc:creator>Travis</dc:creator>
			<guid isPermaLink="false">18057@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This patch didn't work for me and only re-showed the form. So I made the following edit that works great!&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;public static function handle_confirmation($form, $lead, $ajax=false){
        if($form[&#38;quot;confirmation&#38;quot;][&#38;quot;type&#38;quot;] == &#38;quot;message&#38;quot;){
			if(empty($form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;]))
                $msg_style = &#38;quot;style = &#38;#39;display:none;&#38;#39;&#38;quot;;
			else
				$msg_style =&#38;quot;&#38;quot;;
            $anchor = apply_filters(&#38;quot;gform_confirmation_anchor_{$form[&#38;quot;id&#38;quot;]}&#38;quot;, apply_filters(&#38;quot;gform_confirmation_anchor&#38;quot;, 0)) ? &#38;quot;&#38;lt;a name=&#38;#39;gf_{$form[&#38;quot;id&#38;quot;]}&#38;#39; class=&#38;#39;gform_anchor&#38;#39; &#38;gt;&#38;lt;/a&#38;gt;&#38;quot; : &#38;quot;&#38;quot;;
            return &#38;quot;{$anchor}&#38;lt;div id=&#38;#39;gforms_confirmation_message&#38;#39; &#38;quot;.$msg_style.&#38;quot;&#38;gt;&#38;quot; . GFCommon::replace_variables($form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;], $form, $lead) . &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
        }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>sc0ttkclark on "Custom Thank You - Confirmation Message - None"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none#post-17237</link>
			<pubDate>Sat, 29 Jan 2011 13:26:29 +0000</pubDate>
			<dc:creator>sc0ttkclark</dc:creator>
			<guid isPermaLink="false">17237@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome, thanks! For now, I'm slipping it into the latest release on my side, hopefully it remains but I'll add it to the list to double check before upgrading. You guys got the labels unescaped html now for fields right?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Custom Thank You - Confirmation Message - None"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none#post-17226</link>
			<pubDate>Sat, 29 Jan 2011 08:10:23 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">17226@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Makes sense Scott. I will try to add that in.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sc0ttkclark on "Custom Thank You - Confirmation Message - None"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/custom-thank-you-confirmation-message-none#post-17218</link>
			<pubDate>Fri, 28 Jan 2011 21:26:37 +0000</pubDate>
			<dc:creator>sc0ttkclark</dc:creator>
			<guid isPermaLink="false">17218@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to disable the Thank You text completely? I don't want to redirect a page after submission, and I've got my own content for the thank you page itself but I don't want to stick it in that yellow div (or override the css there).&#60;/p&#62;
&#60;p&#62;I can override the confirmation message / type to &#34;message&#34; and an empty message value, but the div still shows. Any possibility you can slip in a quick check to see if the confirmation message is empty then not to show it?&#60;/p&#62;
&#60;p&#62;For example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;public static function handle_confirmation($form, $lead, $ajax=false){
        if($form[&#38;quot;confirmation&#38;quot;][&#38;quot;type&#38;quot;] == &#38;quot;message&#38;quot;){
            $anchor = apply_filters(&#38;quot;gform_confirmation_anchor_{$form[&#38;quot;id&#38;quot;]}&#38;quot;, apply_filters(&#38;quot;gform_confirmation_anchor&#38;quot;, 0)) ? &#38;quot;&#38;lt;a name=&#38;#39;gf_{$form[&#38;quot;id&#38;quot;]}&#38;#39; class=&#38;#39;gform_anchor&#38;#39; &#38;gt;&#38;lt;/a&#38;gt;&#38;quot; : &#38;quot;&#38;quot;;
            return &#38;quot;{$anchor}&#38;lt;div id=&#38;#39;gforms_confirmation_message&#38;#39;&#38;gt;&#38;quot; . GFCommon::replace_variables($form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;], $form, $lead) . &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
        }&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;could be adjusted to be:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;public static function handle_confirmation($form, $lead, $ajax=false){
        if($form[&#38;quot;confirmation&#38;quot;][&#38;quot;type&#38;quot;] == &#38;quot;message&#38;quot;){
            if(empty($form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;]))
                return;
            $anchor = apply_filters(&#38;quot;gform_confirmation_anchor_{$form[&#38;quot;id&#38;quot;]}&#38;quot;, apply_filters(&#38;quot;gform_confirmation_anchor&#38;quot;, 0)) ? &#38;quot;&#38;lt;a name=&#38;#39;gf_{$form[&#38;quot;id&#38;quot;]}&#38;#39; class=&#38;#39;gform_anchor&#38;#39; &#38;gt;&#38;lt;/a&#38;gt;&#38;quot; : &#38;quot;&#38;quot;;
            return &#38;quot;{$anchor}&#38;lt;div id=&#38;#39;gforms_confirmation_message&#38;#39;&#38;gt;&#38;quot; . GFCommon::replace_variables($form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;], $form, $lead) . &#38;quot;&#38;lt;/div&#38;gt;&#38;quot;;
        }&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
