<?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: Changing the confirmation message using a hook</title>
		<link>https://legacy.forums.gravityhelp.com/topic/changing-the-confirmation-message-using-a-hook</link>
		<description>Gravity Support Forums Topic: Changing the confirmation message using a hook</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 19:19:11 +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/changing-the-confirmation-message-using-a-hook" rel="self" type="application/rss+xml" />

		<item>
			<title>Wheaton College on "Changing the confirmation message using a hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-confirmation-message-using-a-hook#post-30561</link>
			<pubDate>Wed, 20 Jul 2011 15:36:28 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">30561@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;argh. Sorry for missing this. Thanks again for your help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Changing the confirmation message using a hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-confirmation-message-using-a-hook#post-30559</link>
			<pubDate>Wed, 20 Jul 2011 15:34:12 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">30559@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is a hook specifically for customizing the form confirmation.  It is gform_confirmation and you can find documentation here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_confirmation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_confirmation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Wheaton College on "Changing the confirmation message using a hook"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/changing-the-confirmation-message-using-a-hook#post-30536</link>
			<pubDate>Wed, 20 Jul 2011 14:24:10 +0000</pubDate>
			<dc:creator>Wheaton College</dc:creator>
			<guid isPermaLink="false">30536@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I'd like to use &#60;u&#62;gform_post_submission&#60;/u&#62; to alter the confirmation message. But, I am not sure how to do this. &#60;/p&#62;
&#60;p&#62;&#60;u&#62;gform_post_submission&#60;/u&#62; seems to work fine. But, I am not able to alter $form[&#34;confirmation&#34;][&#34;message&#34;] with it.&#60;/p&#62;
&#60;p&#62;See below for a completely contrived example:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;if( !class_exists( &#38;#39;WP_Http&#38;#39; ) )
		include_once( ABSPATH . WPINC. &#38;#39;/class-http.php&#38;#39; );

add_action( &#38;#39;gform_post_submission_6&#38;#39;, &#38;#39;process_admission_form&#38;#39;, 10, 2 );

function process_admission_form($entry, $form){

	$url = &#38;#39;http://somesite.com/web/?&#38;#39; . http_build_query( $entry );
	$request = new WP_Http;
	$result = $request-&#38;gt;request( $url );

	$form[&#38;quot;confirmation&#38;quot;][&#38;quot;message&#38;quot;] = $result[&#38;quot;response&#38;quot;][&#38;quot;code&#38;quot;];

	return $form;

}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>

	</channel>
</rss>
