<?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_get_meta not working?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working</link>
		<description>Gravity Support Forums Topic: gform_get_meta not working?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:07: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/gform_get_meta-not-working" rel="self" type="application/rss+xml" />

		<item>
			<title>Brad Trivers on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-74618</link>
			<pubDate>Mon, 10 Sep 2012 07:59:10 +0000</pubDate>
			<dc:creator>Brad Trivers</dc:creator>
			<guid isPermaLink="false">74618@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Did you get a chance to confirm that the gform_get_meta function is indeed working?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brad Trivers on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-72145</link>
			<pubDate>Wed, 22 Aug 2012 14:49:48 +0000</pubDate>
			<dc:creator>Brad Trivers</dc:creator>
			<guid isPermaLink="false">72145@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;[test_gform_get_meta] if I want to use the default 146 that I know exists or &#60;/p&#62;
&#60;p&#62;[test_gform_get_meta entry_id=###] to specify the entry to use (e.g. [test_gform_get_meta entry_id=141] )&#60;/p&#62;
&#60;p&#62;My suggestion is that you install this and try it with an existing entry id from your Gravity Forms installation to see if it works for you.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-72133</link>
			<pubDate>Wed, 22 Aug 2012 14:06:50 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72133@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What does the shortcode you're using look like? The one which utilizes this function?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brad Trivers on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-72099</link>
			<pubDate>Wed, 22 Aug 2012 11:58:05 +0000</pubDate>
			<dc:creator>Brad Trivers</dc:creator>
			<guid isPermaLink="false">72099@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Chris thanks for your reponse.  Here is code that fails for me (whether I place it in a plugin or in a theme's functions.php file).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function mf_test_gform_get_meta() {
  extract(shortcode_atts(array(
      &#38;#39;entry_id&#38;#39; =&#38;gt; &#38;#39;146&#38;#39;
   ), $atts));
  $entry_id = intval($entry_id); //get id of entry for most recent order form submitted
  $create_date = gform_get_meta($entry_id, &#38;#39;date_created&#38;#39;);
  $result .= &#38;quot;&#38;lt;p&#38;gt;Your $entry_id create date is $create_date.&#38;lt;/p&#38;gt;&#38;quot;;
  return $result;
}
add_shortcode(&#38;#39;test_gform_get_meta&#38;#39;, &#38;#39;mf_test_gform_get_meta&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Can you verify that it works for you?  Also would love to hear a suggestion as the best way to validate an entry_id.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-72058</link>
			<pubDate>Wed, 22 Aug 2012 07:50:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">72058@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Brad, how are you trying to get this information?  What plugin shortcode are you using?&#60;/p&#62;
&#60;p&#62;If $create_date is empty, can you verify the value of $entry_id before trying gform_get_meta?  I'm not sure how all your pieces fit together just yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Brad Trivers on "gform_get_meta not working?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_get_meta-not-working#post-71864</link>
			<pubDate>Tue, 21 Aug 2012 10:11:16 +0000</pubDate>
			<dc:creator>Brad Trivers</dc:creator>
			<guid isPermaLink="false">71864@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When I try to use gform_get_meta within a plugin shortcode function it is returning empty.&#60;/p&#62;
&#60;p&#62;For example: &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$entry_id = intval($userinfo[&#38;#39;last_order_id&#38;#39;][0]);
$create_date = gform_get_meta($entry_id, &#38;#39;date_created&#38;#39;);

$result .= &#38;quot;&#38;lt;p&#38;gt;Your $entry_id create date is $create_date.&#38;lt;/p&#38;gt;&#38;quot;;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;$create_date is empty.  Any ideas what I could be doing wrong here?  The entry_id does output properly in the result. &#60;/p&#62;
&#60;p&#62;I have verified that the form entry id is valid by viewing the entry - e.g.  here is the entry Info for 146:&#60;/p&#62;
&#60;p&#62;Entry Id: 146&#60;br /&#62;
Submitted on: 2012/08/21 at 9:46 am&#60;br /&#62;
User IP: 142.177.17.120&#60;br /&#62;
User: &#60;a href=&#34;mailto:testmommy29@sunriseweb.ca&#34;&#62;testmommy29@sunriseweb.ca&#60;/a&#62;&#60;br /&#62;
Embed Url: .../checkout&#60;br /&#62;
Subscription Status: Active&#60;br /&#62;
Start Date: 2012/08/21&#60;br /&#62;
Subscriber Id: I-7CV0D31TRTLH&#60;br /&#62;
Subscription Amount: $25.00
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
