<?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: RGFormsModel::get_form_counts is not updating when form entries are edited</title>
		<link>https://legacy.forums.gravityhelp.com/topic/rgformsmodelget_form_counts-is-not-updating-when-form-entries-are-edited</link>
		<description>Gravity Support Forums Topic: RGFormsModel::get_form_counts is not updating when form entries are edited</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 13:05:14 +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/rgformsmodelget_form_counts-is-not-updating-when-form-entries-are-edited" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "RGFormsModel::get_form_counts is not updating when form entries are edited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/rgformsmodelget_form_counts-is-not-updating-when-form-entries-are-edited#post-24469</link>
			<pubDate>Thu, 28 Apr 2011 18:43:15 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">24469@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The RGFormsModel::get_form_counts(1) function is returning the total number of entries, not the total of the integer in any field.&#60;/p&#62;
&#60;p&#62;Something like &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/calculate-numbers-from-number-field-in-form-submissions#post-13665&#34; rel=&#34;nofollow&#34;&#62;this&#60;/a&#62; might be better suited to your end goal.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>agelfand on "RGFormsModel::get_form_counts is not updating when form entries are edited"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/rgformsmodelget_form_counts-is-not-updating-when-form-entries-are-edited#post-24453</link>
			<pubDate>Thu, 28 Apr 2011 17:40:25 +0000</pubDate>
			<dc:creator>agelfand</dc:creator>
			<guid isPermaLink="false">24453@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;A few months ago I created a form for a client  where one field in the form accepts an integer, and the following script counts up the values of this form field from all the submitted entries and echoes it on a text widget I made. &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function raoc_counter($atts, $content = null) {
	$summary = RGFormsModel::get_form_counts(1);
	$today = date(&#38;quot;F j, Y&#38;quot;);
        return &#38;#39;&#38;lt;div class=&#38;quot;racount&#38;quot;&#38;gt;&#38;lt;div class=&#38;quot;racount1&#38;quot;&#38;gt;There have been&#38;lt;/div&#38;gt;&#38;lt;div class=&#38;quot;racount2&#38;quot;&#38;gt;&#38;#39;.$summary[&#38;quot;total&#38;quot;].&#38;#39;&#38;lt;/div&#38;gt;&#38;lt;div class=&#38;quot;racount3&#38;quot;&#38;gt;RANDOM ACTS OF CULTUREas of &#38;#39;.$today.&#38;#39;Count with us to 1,000!&#38;lt;/div&#38;gt;&#38;#39;;
}
add_shortcode(&#38;quot;raoc&#38;quot;, &#38;quot;raoc_counter&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;See the How Many Random Acts widget on this page:&#60;br /&#62;
&#60;a href=&#34;http://www.knightarts.org/random-acts-of-culture&#34; rel=&#34;nofollow&#34;&#62;http://www.knightarts.org/random-acts-of-culture&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;When the client goes into the existing form entries and changes the # in that field, the count should increase or decrease appropriately. But it isn't doing anything at all right now. Is there a problem with my code? Anyone see anything obvious that I'm missing? Client says it was working earlier and now it's not.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
