{"id":2566490,"date":"2012-02-12T17:48:05","date_gmt":"2012-02-12T17:48:05","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/accessing-gravity-forms-name-field-using-php\/"},"modified":"2016-08-20T05:00:37","modified_gmt":"2016-08-20T05:00:37","slug":"accessing-gravity-forms-name-field-using-php","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/accessing-gravity-forms-name-field-using-php\/","title":{"rendered":"Accessing Gravity Forms Name Field Using PHP"},"content":{"rendered":"<p>I am using Gravity Forms to create Posts. The form is simple. Just has Name, Post Title and Post Description. When the Post is Submitted it is then displayed (after I check it). I would like to write out the name as entered in the Name field. I was trying the code below, but not working. [&lt;?php get_post_meta(the_ID(), &#8220;Name&#8221;); ?&gt;] Can someone please help me out with what the correct PHP function call should be.<\/p>\n<p>&lt;div Posted on &lt;?php the_time(get_option(&#8216;date_format&#8217;)) ?&gt;, &lt;?php the_time(get_option(&#8216;time_format&#8217;)) ?&gt;, by &lt;?php the_author() ?&gt;, Name: &lt;?php get_post_meta(the_ID(), &#8220;Name&#8221;); ?&gt; &lt;\/div&gt;<\/p>\n<p>Thanks.<\/p>\n","protected":false},"template":"","class_list":["post-2566490","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2566490","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/2566490\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=2566490"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}