<?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: Performing calculations</title>
		<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations</link>
		<description>Gravity Support Forums Topic: Performing calculations</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:51:53 +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/performing-calculations" rel="self" type="application/rss+xml" />

		<item>
			<title>GZA on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-55129</link>
			<pubDate>Thu, 12 Apr 2012 17:03:37 +0000</pubDate>
			<dc:creator>GZA</dc:creator>
			<guid isPermaLink="false">55129@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Great stuff! Thank you Carl ;-)&#60;/p&#62;
&#60;p&#62;We're still gathering research for our project so this is a big help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-55124</link>
			<pubDate>Thu, 12 Apr 2012 16:41:39 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">55124@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;#1 It is possible to use the new calculation functionality to implement a Product Field that has a negative price which would could be used to apply a discount.  &#60;/p&#62;
&#60;p&#62;You would disable the quantity option on that field so that a quantity of 1 is assumed if it is present and then you could then apply conditional logic to this field and use that to determine when it should or should not be displayed and thus applied.&#60;/p&#62;
&#60;p&#62;You would have to be able to determine what that discount is via a calculation because the Price of the Product Field when configured as a Calculation field type is the result of the calculation.&#60;/p&#62;
&#60;p&#62;The trick to having the calculation return a negative value instead of a positive value will be to create your calculation so that it returns the amount of the discount you want to apply as a positive number and then wrap that calculation in parentheses and multiple it by -1.&#60;/p&#62;
&#60;p&#62;For example:&#60;/p&#62;
&#60;p&#62;(1+1) * -1&#60;/p&#62;
&#60;p&#62;That would result in a value of -2.  1+1 is 2 and when you multiple it by -1 it will result in the same value but as a negative.  Just keep in mind that if the first part of the calculation results in a negative value, multiplying it by -1 would do the opposite and return a positive value.&#60;/p&#62;
&#60;p&#62;Because the Product Field is currently the only Pricing Field that supports calculations, the discount wouldn't actually apply to one of the other product field on your form like an option would.  It would result in having a new Product line item on the order that has a negative price which results in discounting the total.&#60;/p&#62;
&#60;p&#62;#2 I can't tell if calculations will be good for this scenario or not.  It sounds like it could be if you setup the calculation properly.  All I can say is give the beta a shot and play around with the calculation functionality.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>GZA on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-55010</link>
			<pubDate>Thu, 12 Apr 2012 03:16:40 +0000</pubDate>
			<dc:creator>GZA</dc:creator>
			<guid isPermaLink="false">55010@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have 2 scenarios for a site I'm planning which is selling posts as listings, i.e. accommodation providers pay to list their properties, and would like to know how the new calculations feature can help in our goal.&#60;/p&#62;
&#60;p&#62;#1 Let's say we have a base price per listing (post) of 50 but if the user wants to buy more listings then we can discount the subsequent listings using whatever criteria we decide, probably sliding discounts according to number of listings.&#60;/p&#62;
&#60;p&#62;The thing is, we don't want to discount the first listing, it has to remain at it's published price - just the additional listings will be discounted.&#60;/p&#62;
&#60;p&#62;Possible out of the box?&#60;/p&#62;
&#60;p&#62;#2 Let's say we want to price our listings according to capacity of accommodation, i.e. if host only has 1 accommodation to rent then they pay our minimum published price of say 50.&#60;/p&#62;
&#60;p&#62;Then, for each additional accommodation unit the host has we need to increment the price up to a maximum.&#60;/p&#62;
&#60;p&#62;We plan to make capacity a key element in our search results to ensure people don't try to game us. &#60;/p&#62;
&#60;p&#62;Possible out of the box?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rservices on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-54984</link>
			<pubDate>Wed, 11 Apr 2012 18:13:34 +0000</pubDate>
			<dc:creator>rservices</dc:creator>
			<guid isPermaLink="false">54984@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Rob --- this sounds extremely promising.  I look forward to trying it out and will provide feedback for the beta phase... tnx... John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-54981</link>
			<pubDate>Wed, 11 Apr 2012 17:43:20 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">54981@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Our new GF v1.6.4 Beta 1 was released today with calculations - see if that works for what you are trying to do:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/gravity-forms-v1-6-4-beta-1-released/&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/gravity-forms-v1-6-4-beta-1-released/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rservices on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-54689</link>
			<pubDate>Mon, 09 Apr 2012 20:01:21 +0000</pubDate>
			<dc:creator>rservices</dc:creator>
			<guid isPermaLink="false">54689@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would like to do some simple on screen calculations on a form that will be used to generate an estimate for a customer who registers on my site.&#60;/p&#62;
&#60;p&#62;When will the calculation functions be available and will they use Ajax or some other feature that will run a &#34;calculation&#34; BEFORE the customer submits the form for a formal estimate to be drawn up and emailed in QuickBooks. ( done manually ).  &#60;/p&#62;
&#60;p&#62;Any ETA on the calculations features for near-real time product pricing subtotals for example??&#60;/p&#62;
&#60;p&#62;Thanks / John
&#60;/p&#62;</description>
		</item>
		<item>
			<title>esilvas on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-45616</link>
			<pubDate>Thu, 05 Jan 2012 14:55:04 +0000</pubDate>
			<dc:creator>esilvas</dc:creator>
			<guid isPermaLink="false">45616@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Carl,&#60;/p&#62;
&#60;p&#62;Can you point me in a direction with respect to getting started on my jQuery coding? Is there a primer somewhere I can follow?  Thanks.&#60;/p&#62;
&#60;p&#62;emilio
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-45087</link>
			<pubDate>Wed, 28 Dec 2011 18:22:20 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">45087@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Calculations for general use are not currently a built in feature of Gravity Forms.  The only calculations that are currently available in Gravity Forms are the calculations built into the Pricing Fields used to dynamically calculate the Total when using the Total Field.&#60;/p&#62;
&#60;p&#62;It is possible to implement this as a customization, but it would require writing the necessary code to handle the calculation using jQuery.  I could refer you to a developer if this is something you wanted to pay a developer to implement for you.&#60;/p&#62;
&#60;p&#62;The good news is calculations is a feature we will be adding to Gravity Forms in the new year.  We hope to introduce it sometime in the first quarter.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mqws on "Performing calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/performing-calculations#post-45057</link>
			<pubDate>Wed, 28 Dec 2011 11:00:47 +0000</pubDate>
			<dc:creator>mqws</dc:creator>
			<guid isPermaLink="false">45057@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I wonder whether the following would be possible with Gravity Forms:&#60;br /&#62;
For a customer I have to make a form with many questions. Users of the website give some data of their income and costs and the form will calculate whether and how much tax you can get back. &#60;/p&#62;
&#60;p&#62;Would it be possible to make the form with Gravity Forms and add the extensive calculations for this? Or is this too much? &#60;/p&#62;
&#60;p&#62;Thanks! &#60;/p&#62;
&#60;p&#62;Joost
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
