<?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: promo code</title>
		<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1</link>
		<description>Gravity Support Forums Topic: promo code</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 11:57:47 +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/promo-code-1" rel="self" type="application/rss+xml" />

		<item>
			<title>Troy Dunn on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-122663</link>
			<pubDate>Tue, 15 Jan 2013 15:00:14 +0000</pubDate>
			<dc:creator>Troy Dunn</dc:creator>
			<guid isPermaLink="false">122663@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-122657</link>
			<pubDate>Tue, 15 Jan 2013 14:56:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">122657@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The best place for information is to watch the blog for announcements.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Or, sign up for email news here:&#60;br /&#62;
&#60;a href=&#34;http://feedburner.google.com/fb/a/mailverify?uri=gravityhelp/WvJm&#38;amp;loc=en_US&#34; rel=&#34;nofollow&#34;&#62;http://feedburner.google.com/fb/a/mailverify?uri=gravityhelp/WvJm&#38;amp;loc=en_US&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Troy Dunn on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-122650</link>
			<pubDate>Tue, 15 Jan 2013 14:26:05 +0000</pubDate>
			<dc:creator>Troy Dunn</dc:creator>
			<guid isPermaLink="false">122650@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Chris, is there somewhere that I can follow the progress of the coupon add-on? I could use this on a site and was surprised to learn it didn't already exist.&#60;/p&#62;
&#60;p&#62;Thanks and keep up the great work!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-116381</link>
			<pubDate>Mon, 07 Jan 2013 23:26:01 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">116381@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Additionally, Rocketgenius/Gravity Forms is working on a coupon add-on which may be able to help you with this functionality.  I'm not sure what your timeline is.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-116378</link>
			<pubDate>Mon, 07 Jan 2013 23:25:08 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">116378@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The only PHP file you should edit is the functions.php file in your current theme.&#60;/p&#62;
&#60;p&#62;gform_pre_render_2 ? means form 2: &#60;strong&#62;YES&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;#input_2_26 ? means form 2 input 26 ?: &#60;strong&#62;YES&#60;/strong&#62;&#60;/p&#62;
&#60;p&#62;gformCalculateTotalPrice(2); ? means calculate form 2: &#60;strong&#62;YES&#60;/strong&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>steveschutte on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-116171</link>
			<pubDate>Mon, 07 Jan 2013 15:03:02 +0000</pubDate>
			<dc:creator>steveschutte</dc:creator>
			<guid isPermaLink="false">116171@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Please help.  I am lost.  The other work around exposes the promo code.  Thanks in advance for your help and patience.&#60;/p&#62;
&#60;p&#62;What php.file do I update?&#60;/p&#62;
&#60;p&#62;gform_pre_render_2   ? means form 2&#60;br /&#62;
#input_2_26               ? means form 2 input 26 ?&#60;br /&#62;
gformCalculateTotalPrice(2);   ? means calculate form 2
&#60;/p&#62;</description>
		</item>
		<item>
			<title>steveschutte on "promo code"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/promo-code-1#post-113224</link>
			<pubDate>Thu, 03 Jan 2013 16:09:26 +0000</pubDate>
			<dc:creator>steveschutte</dc:creator>
			<guid isPermaLink="false">113224@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;A beginner question, what files do I need to change to implement the promo code below?&#60;/p&#62;
&#60;p&#62;Form to be changed:  &#60;a href=&#34;https://aneededride.com/membership/&#34; rel=&#34;nofollow&#34;&#62;https://aneededride.com/membership/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Topic: &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/total-wont-update-on-gform_product_total&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/total-wont-update-on-gform_product_total&#60;/a&#62;&#60;br /&#62;
Code:  &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;?php

add_filter( &#38;#39;gform_pre_render_2&#38;#39;, &#38;#39;joe_ind_js&#38;#39;);
function joe_ind_js($form) {
    echo &#38;lt;&#38;lt;&#38;lt;END
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
    jQuery(document).ready(function($){
        $(&#38;quot;#input_2_26&#38;quot;).change(function(){
            gformCalculateTotalPrice(2);
        });
    });
    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 $form;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Thank You.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
