<?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: Display Today&#039;s Form Entries on Front-end Pages</title>
		<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages</link>
		<description>Gravity Support Forums Topic: Display Today&#039;s Form Entries on Front-end Pages</description>
		<language>en-US</language>
		<pubDate>Sat, 02 May 2026 09:17:43 +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/display-todays-form-entries-on-front-end-pages" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-88624</link>
			<pubDate>Wed, 07 Nov 2012 23:36:56 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">88624@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That returns all the fields for all entries for form 7.  You would have to extract just the entries and fields you need at that point.  In your example, you are extracting field 7 for every entry.  If you want other fields, just add them in your loop where you have $entry[7].  If you have data stored in the entry in field 24, access that as $entry[24].  You will get the value which is stored in field 24 for every entry which was submitted with form 7.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>relish1227 on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-88493</link>
			<pubDate>Wed, 07 Nov 2012 16:44:07 +0000</pubDate>
			<dc:creator>relish1227</dc:creator>
			<guid isPermaLink="false">88493@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Okay, I figured out my issue.  It was in how I was getting the form ID.... :\  &#34;get_the_field&#34; was supposed to be &#34;get_field.&#34;  I had outputted the ID before with &#34;the_field&#34; and thought I'd done it with this instead.  &#60;/p&#62;
&#60;p&#62;Anyways.  I do have it working now like so:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;?php
#{Your Organization Name:7}{Organization Contact Name (First):6.3}{Organization Contact Name (Last):6.6}
$form_id = get_field(&#38;quot;form_id&#38;quot;);
$entries = RGFormsModel::get_leads($form_id, &#38;#39;7&#38;#39;, &#38;#39;ASC&#38;#39;);
// loop through all the leads
foreach ($entries as $entry) {
	echo &#38;quot;&#38;lt;li&#38;gt;&#38;quot; . $entry[7] . &#38;quot;&#38;lt;/li&#38;gt;&#38;quot;;
}
?&#38;gt;
&#38;lt;/ul&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;My remaining question, then, was about how to get more than one field to work.  When I tried the 6.3 or 6.6 fields (ex: $entry[6.3] ), nothing was displayed.  It made me wonder about this line:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;$entries = RGFormsModel::get_leads($form_id, &#38;#39;7&#38;#39;, &#38;#39;ASC&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Does that return the whole record for entries that use the &#34;7&#34; field ID?  Or do I have to do something else to get those other fields' data?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>relish1227 on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-86445</link>
			<pubDate>Fri, 02 Nov 2012 00:18:55 +0000</pubDate>
			<dc:creator>relish1227</dc:creator>
			<guid isPermaLink="false">86445@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;This is what I need, too.  I don't need it as a shortcode, though, just want to use the code directly in my template page.  It's not working, though, so I'm wondering if I can get your help.&#60;/p&#62;
&#60;p&#62;I grabbed the IDs of the three fields I want to display (for now I'm just going for the organization name, 7).  When I try this in my template field, it doesn't work -- and doesn't display anything after it, so I think it's causing problems.  Do I need to have something else in place?  Do you see anything obvious here that's wrong or missing?&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#{Your Organization Name:7}{Organization Contact Name (First):6.3}{Organization Contact Name (Last):6.6}
$form_id = get_the_field(&#38;quot;form_id&#38;quot;);
$organizations = RGFormsModel::get_leads($form_id, &#38;#39;7&#38;#39;, &#38;#39;ASC&#38;#39;);

// loop through all the leads
foreach ($organizations as $member) {
		echo $member;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thanks much!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-84537</link>
			<pubDate>Mon, 29 Oct 2012 00:29:23 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">84537@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Let us know if you need help customizing that for your specific application.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kudy on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-84482</link>
			<pubDate>Sun, 28 Oct 2012 21:50:58 +0000</pubDate>
			<dc:creator>kudy</dc:creator>
			<guid isPermaLink="false">84482@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks! that might be just the ticket.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-83276</link>
			<pubDate>Wed, 24 Oct 2012 10:45:03 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">83276@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;When you say &#34;all entries&#34;, do you mean all fields for every entry?  Or do you just want to display first and last name for all entries for today's date for a form?  Can you explain more about the data you are capturing with the form and how you would like to display it on the front end?&#60;/p&#62;
&#60;p&#62;I wrote a shortcode function a while back for a very specific use like this.  It pulls the names from entries for one form.  You could extend this to restrict the entries by date.  You could also extend this to show more fields than just first name and last name (first initial only in this case):&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastebin.com/FUF9HA6B&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/FUF9HA6B&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>kudy on "Display Today&#039;s Form Entries on Front-end Pages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/display-todays-form-entries-on-front-end-pages#post-82126</link>
			<pubDate>Thu, 18 Oct 2012 22:55:47 +0000</pubDate>
			<dc:creator>kudy</dc:creator>
			<guid isPermaLink="false">82126@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello - I'd like to be able to display all entries from a form on a front-end page.  I have reviewed the &#34;Directory&#34; plugin, but it is missing 1 feature that I need: the ability to show only entries with today's date.  Is this possible? Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
