<?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: Get Form Entry by EntryID into an array or dataset or object?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/get-form-entry-by-entryid-into-an-array-or-dataset-or-object</link>
		<description>Gravity Support Forums Topic: Get Form Entry by EntryID into an array or dataset or object?</description>
		<language>en-US</language>
		<pubDate>Sat, 11 Apr 2026 04:25:01 +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/get-form-entry-by-entryid-into-an-array-or-dataset-or-object" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Get Form Entry by EntryID into an array or dataset or object?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-form-entry-by-entryid-into-an-array-or-dataset-or-object#post-40389</link>
			<pubDate>Tue, 08 Nov 2011 03:46:38 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">40389@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Glad you were able to work that out.   Thank you for posting your code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Get Form Entry by EntryID into an array or dataset or object?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-form-entry-by-entryid-into-an-array-or-dataset-or-object#post-40346</link>
			<pubDate>Tue, 08 Nov 2011 00:08:36 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">40346@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;umm... anyhow this did the trick, thanks for all the help.&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;[php]
Function getOrderInfo($entryid=0)
{
	if ($entryid==0) $entryid=$_GET[&#38;#39;entry&#38;#39;];
	if ($entryid==0) return;
	$entry = RGFormsModel::get_lead($entryid);
	$form = RGFormsModel::get_form_meta($entry[&#38;#39;form_id&#38;#39;]);
	$content =  &#38;#39;&#38;lt;h3&#38;gt;&#38;#39;.$form[&#38;#39;title&#38;#39;].&#38;#39;&#38;lt;/h3&#38;gt;&#38;#39;;
	foreach($form[&#38;#39;fields&#38;#39;] as &#38;amp;$field){
		$content=$content.&#38;#39;&#38;lt;b&#38;gt;&#38;#39;.$field[&#38;#39;label&#38;#39;].&#38;quot;:&#38;lt;/b&#38;gt; &#38;quot;.$entry[$field[&#38;#39;id&#38;#39;]].&#38;#39;&#38;#39;;
	}
	return $content;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Anonymous on "Get Form Entry by EntryID into an array or dataset or object?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/get-form-entry-by-entryid-into-an-array-or-dataset-or-object#post-40209</link>
			<pubDate>Sun, 06 Nov 2011 08:11:49 +0000</pubDate>
			<dc:creator>Anonymous</dc:creator>
			<guid isPermaLink="false">40209@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've searched and seen a lot of references to RGFormsModel::get_form_meta(THE ID);&#60;br /&#62;
and similar, but these snippets are always out of context can someone post a more complete example?&#60;/p&#62;
&#60;p&#62;I have a page that displays orders.  GF is used to capture the order information.  I can find all the data in DB but it is not obvious to me at lest how to link up the form's labels with the lead info.  In reading through the documentation its clear GF intended to access this information indirectly, where I am struggling is the how?&#60;/p&#62;
&#60;p&#62;I planned to have a button, pass the entryID to a function.  That function would fetch GF entered info with labels as an array or dataset or object or whatever and then I can render it from there.  &#60;/p&#62;
&#60;p&#62;Is there a method to return an entry and if so... how?  This info is done by our QC follow up team weekly.  It is outside of the submit and not associated with any event performed during GF  submission.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
