<?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: Include calculator value</title>
		<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value</link>
		<description>Gravity Support Forums Topic: Include calculator value</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:15:20 +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/include-calculator-value" rel="self" type="application/rss+xml" />

		<item>
			<title>norcross on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10778</link>
			<pubDate>Mon, 04 Oct 2010 22:42:16 +0000</pubDate>
			<dc:creator>norcross</dc:creator>
			<guid isPermaLink="false">10778@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;BINGO! You are a gentleman and a scholar.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10775</link>
			<pubDate>Mon, 04 Oct 2010 18:50:24 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">10775@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After a second look, here is an even simpler solution. Remove the snippet I provided earlier and add this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$(&#38;quot;#input_6_7&#38;quot;).val(&#38;quot;$&#38;quot; + total);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;beneath this line:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$(&#38;quot;#roi_result&#38;quot;).append(&#38;quot;$&#38;quot; + total);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;Should look something like this: &#60;a href=&#34;http://pastie.org/1199597&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1199597&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>norcross on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10774</link>
			<pubDate>Mon, 04 Oct 2010 18:37:39 +0000</pubDate>
			<dc:creator>norcross</dc:creator>
			<guid isPermaLink="false">10774@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@David hmm, no dice so far. Here's the updated calculator code: &#60;a href=&#34;http://pastie.org/1199581&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1199581&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Do I need to enter anything into the hidden field in the back-end of the site?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10748</link>
			<pubDate>Mon, 04 Oct 2010 11:31:36 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">10748@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Norcross, This jquery would go inside your &#34;jQuery(document.ready(function(){}&#34; ideally in the js code you linked for ROI calculator; doesn't matter exactly where just inside it. Let me know how it goes.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>norcross on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10742</link>
			<pubDate>Mon, 04 Oct 2010 11:00:54 +0000</pubDate>
			<dc:creator>norcross</dc:creator>
			<guid isPermaLink="false">10742@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@David makes sense. Just one question: where does that extra bit of jQuery need to go? in the ROI calc or someplace separate?&#60;/p&#62;
&#60;p&#62;I've added the hidden field (li#field_6_7) but am unsure of whether or not I need to add something into the settings of that field itself, or where the jQuery needs to fire.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10740</link>
			<pubDate>Mon, 04 Oct 2010 10:09:48 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">10740@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Yep. What you'll want to do is add another jQuery snippet that fires when the Gravity Form is submitted. This is not tested/working code, but it'll look something like this:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;jQuery(&#38;quot;#gform_6&#38;quot;).submit(function(){
	var roi_result = jQuery(&#38;quot;#roi_result&#38;quot;).text();
	jQuery(&#38;quot;#hidden_field_id&#38;quot;).val(roi_result);
});&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;You'll want to create a hidden field in the Gravity Form and then replace the id of the field where I've indicated in that jQuery bit. The concept here is that when the Gravity Form is submitted, the hidden field will be populated with whatever value is in the #roi_result span (which will contain their ROI if they've completed the calculator).&#60;/p&#62;
&#60;p&#62;Hope that helps. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>norcross on "Include calculator value"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/include-calculator-value#post-10731</link>
			<pubDate>Mon, 04 Oct 2010 02:00:56 +0000</pubDate>
			<dc:creator>norcross</dc:creator>
			<guid isPermaLink="false">10731@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a site that includes a custom-built ROI calculator built on jQuery. Is is possible at all for that value (which isn't being stored anywhere) to be included in the gravity form below it?&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://dev.andrewnorcross.com/das/forms/calculate-the-impact/&#34; rel=&#34;nofollow&#34;&#62;http://dev.andrewnorcross.com/das/forms/calculate-the-impact/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is the actual calculator:&#60;/p&#62;
&#60;p&#62;the javascript: &#60;a href=&#34;http://pastie.org/1197896&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1197896&#60;/a&#62;&#60;br /&#62;
the form: &#60;a href=&#34;http://pastie.org/1197897&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1197897&#60;/a&#62;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
