<?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: Adding PHP to confirmation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation</link>
		<description>Gravity Support Forums Topic: Adding PHP to confirmation</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 21:39:28 +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/adding-php-to-confirmation" rel="self" type="application/rss+xml" />

		<item>
			<title>HMMarketing on "Adding PHP to confirmation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation#post-23342</link>
			<pubDate>Fri, 15 Apr 2011 06:29:21 +0000</pubDate>
			<dc:creator>HMMarketing</dc:creator>
			<guid isPermaLink="false">23342@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ah that's it. Brilliant thank you. Everything's working now :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Adding PHP to confirmation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation#post-23285</link>
			<pubDate>Thu, 14 Apr 2011 12:41:36 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">23285@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It looks like there is a small mistake in your code. Your should &#34;return&#34; the shortcode content and not &#34;echo&#34; it. Try using the code below:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function formDownloadSC() {
    global $post;
    return do_shortcode(get_post_meta($post-&#38;gt;ID, &#38;quot;post-download&#38;quot;, $single = true));
}
add_shortcode(&#38;#39;formDownload&#38;#39;, &#38;#39;formDownloadSC&#38;#39;);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>HMMarketing on "Adding PHP to confirmation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation#post-23234</link>
			<pubDate>Thu, 14 Apr 2011 11:02:20 +0000</pubDate>
			<dc:creator>HMMarketing</dc:creator>
			<guid isPermaLink="false">23234@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've created a shortcode to output the code I want. It works in the post and if I enter it in the sidebar but it's not working in the gravity forms confirmation.&#60;/p&#62;
&#60;p&#62;This it the code:&#60;/p&#62;
&#60;p&#62;function formDownloadSC() {&#60;br /&#62;
	global $post;&#60;br /&#62;
	echo do_shortcode(get_post_meta($post-&#38;gt;ID, &#34;post-download&#34;, $single = true));&#60;br /&#62;
}&#60;br /&#62;
add_shortcode('formDownload', 'formDownloadSC');&#60;/p&#62;
&#60;p&#62;With the shortcode being [formDownload], and post-download being a custom field for another shortcode.&#60;/p&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Adding PHP to confirmation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation#post-23066</link>
			<pubDate>Tue, 12 Apr 2011 11:18:47 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23066@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The confirmation message doesn't support PHP, however it does support shortcodes.  So the easiest thing to do would be to encapsulate what you want to do with PHP into a shortcode and place that shortcode into the confirmation message text.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>HMMarketing on "Adding PHP to confirmation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-php-to-confirmation#post-23044</link>
			<pubDate>Tue, 12 Apr 2011 06:09:03 +0000</pubDate>
			<dc:creator>HMMarketing</dc:creator>
			<guid isPermaLink="false">23044@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like to be able to add some PHP to the confirmation of a form. &#60;/p&#62;
&#60;p&#62;Anyone able to provide assistance on how to do this?&#60;/p&#62;
&#60;p&#62;So once a user has entered their name and email, they are present with a download which is on a post-by-post basis.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
