<?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 User Favorites: joeventures</title>
		<link><a href='https://legacy.forums.gravityhelp.com/profile/joeventures'>joeventures</a></link>
		<description>Gravity Support Forums User Favorites: joeventures</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 04:33:03 +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/profile/" rel="self" type="application/rss+xml" />

		<item>
			<title>JacksJack on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-62021</link>
			<pubDate>Sun, 10 Jun 2012 12:14:11 +0000</pubDate>
			<dc:creator>JacksJack</dc:creator>
			<guid isPermaLink="false">62021@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi I am having a similar problem no matter what I put in the quantity field the total remains 0  and is not updated for the customer to see the total cost, It does however total on the email the forms send me, however as I have said about the cutomer sees a no update of the total.&#60;br /&#62;
this is a link for a test form. Sorry this is probably something really stupid that I am not doing right (I am new at this).&#60;/p&#62;
&#60;p&#62;Curiouser and Curiouse , while the form does update perfectly on my iphone when I test it there, I doesnt send the form to  &#34;Entries or an email. The computer on the other hand wont update but will send the form with the price update displayed in &#34;Entries&#34;&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.bodegacity.com/2012/06/02/coke-12-can-pack/&#34; rel=&#34;nofollow&#34;&#62;http://www.bodegacity.com/2012/06/02/coke-12-can-pack/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-61681</link>
			<pubDate>Wed, 06 Jun 2012 16:48:35 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">61681@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Joe,&#60;/p&#62;
&#60;p&#62;The form total is only updated (and the gform_product_total function called) when a pricing field has been updated via user interaction. Your promo field is not a pricing field so typing within it does not trigger the form total update process.&#60;/p&#62;
&#60;p&#62;You can bind the change event of your promo field to update the form total like so:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://pastie.org/4040207&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/4040207&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joeventures on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-61671</link>
			<pubDate>Wed, 06 Jun 2012 16:13:26 +0000</pubDate>
			<dc:creator>joeventures</dc:creator>
			<guid isPermaLink="false">61671@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ahh... yes. I suppose that would've been a good thing to include :D&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://c4atlanta.org/application-artist/&#34; rel=&#34;nofollow&#34;&#62;Here's a form&#60;/a&#62; -- with the promo code xmember2012&#60;/p&#62;
&#60;p&#62;If you type that code in the promo code field, the total doesn't update. But if you refresh the page with the promo code still in the field, the total updates.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-61660</link>
			<pubDate>Wed, 06 Jun 2012 15:04:33 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">61660@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Joe,&#60;/p&#62;
&#60;p&#62;Can you provide a link to a page where this code is implemented?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joeventures on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-61539</link>
			<pubDate>Tue, 05 Jun 2012 19:17:50 +0000</pubDate>
			<dc:creator>joeventures</dc:creator>
			<guid isPermaLink="false">61539@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Still broken with the recent update. Maybe there's something I'm not doing right in the code?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>joeventures on "Total won&#039;t update on gform_product_total"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/total-wont-update-on-gform_product_total#post-60276</link>
			<pubDate>Thu, 24 May 2012 13:38:02 +0000</pubDate>
			<dc:creator>joeventures</dc:creator>
			<guid isPermaLink="false">60276@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;So now that the Total field works again with Otto's Simple Facebook Connect plugin, it doesn't appear to update when I enter a promo code. This used to work. I tested this in Preview, and it doesn't work there, either.&#60;/p&#62;
&#60;p&#62;Here is the code:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;add_filter( &#38;#39;gform_pre_render_2&#38;#39;, &#38;#39;joe_ind_js&#38;#39; );

function joe_ind_js( $c ) {
	echo &#38;lt;&#38;lt;&#38;lt;END
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	function gform_product_total( formId, total) {
		if(jQuery(&#38;quot;#input_2_26&#38;quot;).val().toLowerCase() == &#38;#39;xyzpromo&#38;#39; )
			total -= 30;
		return total;
	}
&#38;lt;/script&#38;gt;
END;
	return $c;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;One caveat I'll note: This script does work if I fill in the promo code and refresh the screen. Once refreshed, the promo code field is still filled in with the correct promo code.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
