<?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: gform_after_submission output</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output</link>
		<description>Gravity Support Forums Topic: gform_after_submission output</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 14:02:55 +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/gform_after_submission-output" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-152717</link>
			<pubDate>Sat, 23 Feb 2013 00:02:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">152717@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you for the update.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomdaq on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-150688</link>
			<pubDate>Wed, 20 Feb 2013 04:21:37 +0000</pubDate>
			<dc:creator>tomdaq</dc:creator>
			<guid isPermaLink="false">150688@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Update:  I switched my function to a filter using gform_confirmation and now the text I return appears nicely formatted within the page.&#60;/p&#62;
&#60;p&#62;Thanks again for all your help.&#60;/p&#62;
&#60;p&#62;-tomdaq
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-145401</link>
			<pubDate>Sun, 10 Feb 2013 02:18:35 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">145401@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let us know how that works out for you or if you need additional assistance.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomdaq on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-145399</link>
			<pubDate>Sun, 10 Feb 2013 02:14:43 +0000</pubDate>
			<dc:creator>tomdaq</dc:creator>
			<guid isPermaLink="false">145399@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, seriously!  You're a work horse man.  I really appreciate your help.&#60;/p&#62;
&#60;p&#62;Best,&#60;br /&#62;
tomdaq
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-145365</link>
			<pubDate>Sun, 10 Feb 2013 00:21:32 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">145365@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;gform_confirmation uses the $lead object, with is synonymous with the $entry and the usage is the same:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// usage
function custom_confirmation($confirmation, $form, $lead, $ajax){&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;To display the information inside the confirmation message you will need to return the information rather than echo it.  Echo happens immediately.  If you return it, then you can use it by echoing it in your confirmation message.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomdaq on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-145262</link>
			<pubDate>Sat, 09 Feb 2013 17:50:40 +0000</pubDate>
			<dc:creator>tomdaq</dc:creator>
			<guid isPermaLink="false">145262@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, that's exactly the issue.  I can't just put the &#34;Your account has been updated successfully...&#34; message in the confirmation of the form.  This function is just one example.  Many of my other functions output dynamic information, which I need to send back to the user in the confirmation message area as you said so that it is nicely formatted instead of just being dumped in the top of the page.  I'm guessing I'm either missing something really simple, or I just need to take a different approach altogether.&#60;/p&#62;
&#60;p&#62;I considered using the gform_confirmation hook to execute the function instead of using the gform_after_submission approach that I currently have but I'm not sure if I can still get the entry data from the form.  Would I use lead[] instead of entry[]?&#60;/p&#62;
&#60;p&#62;Thanks for your help.&#60;br /&#62;
-tomdaq
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-144996</link>
			<pubDate>Sat, 09 Feb 2013 01:30:35 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">144996@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When you say &#34;outside the loop&#34; do you mean actually just near the top of the page, since you're just echoing it?  You want it to be nicely formatted in the confirmation message area?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomdaq on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-144802</link>
			<pubDate>Fri, 08 Feb 2013 16:07:55 +0000</pubDate>
			<dc:creator>tomdaq</dc:creator>
			<guid isPermaLink="false">144802@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure.  You can see an example of what I'm doing here:  &#60;a href=&#34;http://pastebin.com/akjrhHGY&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/akjrhHGY&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The majority of the code is insignificant.  What matters is the echo statements near the end.  The information in the echo statements need to be returned in the confirmation message for the form.  As it is, the information is echoed to the confirmation page but it is echoed outside of the loop.  Let me know if more clarification is needed.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
tomdaq
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-144789</link>
			<pubDate>Fri, 08 Feb 2013 15:25:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">144789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Can you show us the code you're using currently?  I'm not clear what information you want to use in the confirmation message.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tomdaq on "gform_after_submission output"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-output#post-144369</link>
			<pubDate>Thu, 07 Feb 2013 18:57:50 +0000</pubDate>
			<dc:creator>tomdaq</dc:creator>
			<guid isPermaLink="false">144369@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I'm using gform_after_submission to take input from a form and execute an API query to a third-party application for information.  I would like to send the output from the function to the confirmation message of the form but I'm not clear on how to accomplish that.  As it stands, I'm just echoing the output as part of the function, which sends the text to the page but outside of the Wordpress loop and it doesn't look so nice.  Is there anyway that I can pass the output from my third-party application to the gform_confirmation hook so that it is displayed nicely within the loop?&#60;/p&#62;
&#60;p&#62;Thanks for any suggestions.&#60;/p&#62;
&#60;p&#62;-tomdaq
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
