<?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: How to append content to a confirmation page</title>
		<link>https://legacy.forums.gravityhelp.com/topic/how-to-append-content-to-a-confirmation-page</link>
		<description>Gravity Support Forums Topic: How to append content to a confirmation page</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 03:26: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/how-to-append-content-to-a-confirmation-page" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "How to append content to a confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-append-content-to-a-confirmation-page#post-174424</link>
			<pubDate>Sun, 17 Mar 2013 16:14:46 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">174424@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you got that working.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nes49 on "How to append content to a confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-append-content-to-a-confirmation-page#post-172609</link>
			<pubDate>Fri, 15 Mar 2013 18:07:52 +0000</pubDate>
			<dc:creator>nes49</dc:creator>
			<guid isPermaLink="false">172609@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;All is fine. It's just that I didn't realize how the &#38;lt;div&#38;gt; was going to affect the output until I did the debugging needed to post a question here.&#60;/p&#62;
&#60;p&#62;I've ended up with the following solution (for anyone who may find this thread later):&#60;/p&#62;
&#60;p&#62;I put a token, e.g., &#34;##MSG1##&#34;, on the confirmation page in the form. In the function, I set up the string, e.g. $msg1, that I wanted to appear based on the values in the $lead array, and then used&#60;/p&#62;
&#60;p&#62;$newconfirm = str_replace ( '##MSG1##', $msg1, $confirmation );&#60;br /&#62;
return ( $newconfirm );&#60;/p&#62;
&#60;p&#62;Not hard, just wan't obvious that was one way to accomplish what I wanted.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "How to append content to a confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-append-content-to-a-confirmation-page#post-171252</link>
			<pubDate>Thu, 14 Mar 2013 11:19:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">171252@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
doesn't show the content before the gforms_confirmation_message div&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;That's correct.  The confirmation message is shown within the confirmation div.  From your log file, it looked like this is working.  What part are you not happy with?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>nes49 on "How to append content to a confirmation page"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/how-to-append-content-to-a-confirmation-page#post-170518</link>
			<pubDate>Wed, 13 Mar 2013 22:43:45 +0000</pubDate>
			<dc:creator>nes49</dc:creator>
			<guid isPermaLink="false">170518@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm a new user, and am impressed with all the features you've built into this system.&#60;/p&#62;
&#60;p&#62;I'm having trouble with one piece of the puzzle:&#60;/p&#62;
&#60;p&#62;After form submission, I'd like to present the user with a confirmation page -- and I'm using {all_fields} to show that. I'd also like to add some additional content after that, and that content depends on the values of a couple of the form fields.&#60;/p&#62;
&#60;p&#62;I've worked with the gform_confirmation filter, and I find I can modify the $confirmation page (e.g. translate everything to upper case), and I can replace it entirely with other code, but I don't seem to be able to add anything before or after it.&#60;/p&#62;
&#60;p&#62;I can rewrite the page from the ground up using individual fields, but that gives up the benefit that {all_fields} has in automatically adjusting as the form changes.&#60;/p&#62;
&#60;p&#62;So before I start down that road, I thought I'd check to see if I'm just missing something.  As an example,&#60;/p&#62;
&#60;p&#62;Example code: &#60;a href=&#34;http://pastie.org/6483763&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/6483763&#60;/a&#62;&#60;br /&#62;
The logfile: &#60;a href=&#34;http://pastie.org/pastes/6483847/text&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/pastes/6483847/text&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but the page displayed to the user doesn't show the content before the gforms_confirmation_message div&#60;/p&#62;
&#60;p&#62;Asking the question may have helped me figure out an answer. I'll try parsing the $confirmation string and inserting my code inside the gforms_confirmation_message div. But if there's a simpler solution, I'd love to hear it.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
