<?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: Adding a form entry counter on the front end, by the form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form</link>
		<description>Gravity Support Forums Topic: Adding a form entry counter on the front end, by the form</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:52:46 +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/adding-a-form-entry-counter-on-the-front-end-by-the-form" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-16669</link>
			<pubDate>Thu, 20 Jan 2011 06:33:43 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">16669@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Nope, that'll do the trick. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bkmacdaddy_asg on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-16620</link>
			<pubDate>Wed, 19 Jan 2011 17:33:08 +0000</pubDate>
			<dc:creator>bkmacdaddy_asg</dc:creator>
			<guid isPermaLink="false">16620@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Never mind. I just used array_sum to combine the multiple form entry totals. Unless, of course, you know a better way that's built into Gravity Forms?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bkmacdaddy_asg on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-16607</link>
			<pubDate>Wed, 19 Jan 2011 15:09:28 +0000</pubDate>
			<dc:creator>bkmacdaddy_asg</dc:creator>
			<guid isPermaLink="false">16607@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is great! Thanks for the tip. Now my question: is there a way I can show the total entries count of MULTIPLE forms with some type of variation on this? I have one form duplicated for various landing pages, but want the total count of all entries to display.&#60;/p&#62;
&#60;p&#62;Thanks in advance!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-14832</link>
			<pubDate>Tue, 21 Dec 2010 12:41:24 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14832@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Well you'd have to write the custom PHP to do so.  You'd get the form count for the form and then use PHP to subtract whatever the predefined total is and then display how many chances are left with a message.  So yes, using the code above you could modify it to display a message like &#34;Only 5 chances left!&#34;.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-14825</link>
			<pubDate>Tue, 21 Dec 2010 05:28:44 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">14825@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi again. I've just checked this out. It works perfectly, thanks. I'm using it in conjunction with a plugin that enables one to execute PHP in a page or post via a defined shortcode. This is great as it enables execution without having to add any php to your templates.&#60;/p&#62;
&#60;p&#62;I have one further question on this if I may please. Is it possible to run a php command that displays a message once a certain form count number is reached? For example, if I set up a form to allow only 15 submissions/entries, could I run a php command for that form which displays a message, like &#34;Only 5 chances left!&#34;, when 10 submissions/entries have been submitted?&#60;/p&#62;
&#60;p&#62;Many thanks in advance.&#60;/p&#62;
&#60;p&#62;Richard
&#60;/p&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-14810</link>
			<pubDate>Mon, 20 Dec 2010 14:39:01 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">14810@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Awesome. Thanks very much Carl.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-14794</link>
			<pubDate>Mon, 20 Dec 2010 13:14:20 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">14794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is a post that discusses how to display an entry count, and includes a code snippet:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forum.gravityhelp.com/topic/display-entries-count-on-site&#34; rel=&#34;nofollow&#34;&#62;http://forum.gravityhelp.com/topic/display-entries-count-on-site&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The code you would need to use looks like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php
$summary = RGFormsModel::get_form_counts(2);
echo &#38;quot;The Form count for Form #2 is: &#38;quot;.$summary[&#38;#39;total&#38;#39;].&#38;quot;.&#38;quot;;
?&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>RichardBest on "Adding a form entry counter on the front end, by the form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/adding-a-form-entry-counter-on-the-front-end-by-the-form#post-14772</link>
			<pubDate>Mon, 20 Dec 2010 05:39:34 +0000</pubDate>
			<dc:creator>RichardBest</dc:creator>
			<guid isPermaLink="false">14772@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi All - I'm not sure whether anyone has asked this one before. Couldn't find it when I had a look. &#60;/p&#62;
&#60;p&#62;Would it be possible do you think to add a form entry counter on the page that contains a form? As we know, GF creates distinct entry IDs per form, it seems in pure sequential order. I'm wondering if we somehow use that feature to note, on the page containing the form, how many entries have been submitted through it. That'd be really helpful for situations where we set up forms to close down after X number of entries.&#60;/p&#62;
&#60;p&#62;Many thanks for any help.&#60;/p&#62;
&#60;p&#62;Richard
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
