<?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: Confirmation Page Shortcodes</title>
		<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes</link>
		<description>Gravity Support Forums Topic: Confirmation Page Shortcodes</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 07:50:05 +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/confirmation-page-shortcodes" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-74447</link>
			<pubDate>Sat, 08 Sep 2012 09:38:00 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74447@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Based on this and your emails I think we're good.  Please start a new topic if you need additional assistance. Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sarhjan7 on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-74388</link>
			<pubDate>Fri, 07 Sep 2012 13:14:26 +0000</pubDate>
			<dc:creator>Sarhjan7</dc:creator>
			<guid isPermaLink="false">74388@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yes, I think this is exactly what I needed!   Thanks so much.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-74355</link>
			<pubDate>Fri, 07 Sep 2012 07:50:30 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74355@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The form ID is recorded as part of the entry object. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
// use the lead information to get the form ID
$my_form_id = $lead[&#38;#39;form_id&#38;#39;];

// use the form ID to get the label and description
$form = RGFormsModel::get_form_meta($my_form_id);
$label = $form[&#38;quot;fields&#38;quot;][FieldID][&#38;quot;label&#38;quot;];
$description = $form[&#38;quot;fields&#38;quot;][FieldID][&#38;quot;description&#38;quot;];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Does that help?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-74354</link>
			<pubDate>Fri, 07 Sep 2012 07:44:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">74354@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I described how to get the field labels and descriptions in this reply:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/output-field-description#post-72797&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/output-field-description#post-72797&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sarhjan7 on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-74278</link>
			<pubDate>Thu, 06 Sep 2012 20:43:38 +0000</pubDate>
			<dc:creator>Sarhjan7</dc:creator>
			<guid isPermaLink="false">74278@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;How do I display the field label and descriptions from the page.php which is showing the custom confirmation page after the form is submitted?   I get how to call the lead[fieldid] for values entered, but need to call the field labels and descriptions….
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-72801</link>
			<pubDate>Mon, 27 Aug 2012 17:02:24 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72801@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Rather than sending all the data in the query string, you can send the entry ID ( in a parameter like &#60;em&#62;entry_id={entry_id}&#60;/em&#62; ) and then in your template you can retrieve all the values by using this function and the entry ID:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$lead = RGFormsModel::get_lead($entry_id);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;So, instead of doing this in your page.php template:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;?php echo $_GET[&#38;#39;entity&#38;#39;]; ?&#38;gt;&#38;lt;?php echo $_GET[&#38;#39;entity2&#38;#39;]; ?&#38;gt;&#38;lt;?php echo $_GET[&#38;#39;entity3&#38;#39;]; ?&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You would do something like this instead&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
// do this one time to retrieve the lead
$lead = RGFormsModel::get_lead($entry_id);

// now you can access each individual field by number for this particular lead
echo $lead[104];
echo $lead[105];
echo $lead[106];&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Where 104, 105 and 106 correspond to the field IDs in the entry.&#60;/p&#62;
&#60;p&#62;That is the general approach.  Pass the entry ID only in the query string, then in your template retrieve the entry from the database and use is as &#60;em&#62;$lead[fieldID]&#60;/em&#62; where fieldID is the numeric ID of the field you want to use to value of.  If you need help with that please let us know.&#60;/p&#62;
&#60;p&#62;Recent discussion: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/function-to-get-form-entry-by-id&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/function-to-get-form-entry-by-id&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-72799</link>
			<pubDate>Mon, 27 Aug 2012 16:41:49 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72799@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see that item #2 in &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/confirmation-page-shortcodes#post-71199&#34; rel=&#34;nofollow&#34;&#62;this post&#60;/a&#62; was resolved here (you took care of that on your own):&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/output-field-description&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/output-field-description&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-72794</link>
			<pubDate>Mon, 27 Aug 2012 16:19:02 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.  I did receive two emails and am working on this now.  Thank you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sarhjan7 on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-72782</link>
			<pubDate>Mon, 27 Aug 2012 15:21:59 +0000</pubDate>
			<dc:creator>Sarhjan7</dc:creator>
			<guid isPermaLink="false">72782@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Did you get the email with the attachments?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Sarhjan7 on "Confirmation Page Shortcodes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/confirmation-page-shortcodes#post-72095</link>
			<pubDate>Wed, 22 Aug 2012 11:46:44 +0000</pubDate>
			<dc:creator>Sarhjan7</dc:creator>
			<guid isPermaLink="false">72095@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Sure thing.. I'll send it right over..
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
