<?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: Calculating a Product Field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/calculating-a-product-field</link>
		<description>Gravity Support Forums Topic: Calculating a Product Field</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 17:32:21 +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/calculating-a-product-field" rel="self" type="application/rss+xml" />

		<item>
			<title>Rob Harrell on "Calculating a Product Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculating-a-product-field#post-220887</link>
			<pubDate>Tue, 23 Apr 2013 09:27:38 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">220887@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could simply just use conditional logic to show/hide individual product fields based on county selection.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>microweb on "Calculating a Product Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculating-a-product-field#post-216151</link>
			<pubDate>Fri, 19 Apr 2013 22:50:10 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">216151@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I've been trying to find an answer to this for a full day.  I tried the following in an html field on the form:  I've tried having the input listed as #input_30 and #input_3_30.  I haven't worked on actually changing the field values yet, but I just wanted to see if I could get the onchange event to trigger a function.  Anyone successfully do this?&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
jQuery(document).ready(	function() {
		$(&#38;#39;#input_3_30&#38;#39;).bind(&#38;#39;onchange&#38;#39;, function (){
			CalculateFees(this.form);
	  });
});

function CalculateFees(frm) {
        alert(&#38;#39;here&#38;#39;);

}&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>microweb on "Calculating a Product Field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculating-a-product-field#post-214457</link>
			<pubDate>Thu, 18 Apr 2013 11:25:02 +0000</pubDate>
			<dc:creator>microweb</dc:creator>
			<guid isPermaLink="false">214457@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm creating a form for a product.  When the user selects the county the live in, I want to populate 2 separate product fields, with the cost associated with their county.  I know that I can use a product drop down and use the total cost associated with their county, but the customer would like the 2 costs listed separately.  &#60;/p&#62;
&#60;p&#62;i.e - User chooses Orange County&#60;br /&#62;
Exam fee = $40&#60;br /&#62;
Travel fee = $100&#60;/p&#62;
&#60;p&#62;Can this be done with a calculated product field?  Or do I need to create a function and use a hook with the onchange event (if this can be done, please point me to an example)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
