<?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 Averages</title>
		<link>https://legacy.forums.gravityhelp.com/topic/calculating-averages</link>
		<description>Gravity Support Forums Topic: Calculating Averages</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 04:02:25 +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-averages" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Calculating Averages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculating-averages#post-35432</link>
			<pubDate>Thu, 15 Sep 2011 16:48:48 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">35432@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What you would need to do is add a hidden field to your form that will hold the result.&#60;/p&#62;
&#60;p&#62;Then you would write custom PHP to use a Gravity Forms hook to read the fields you are using for scoring, calculate the result, and store it in this hidden field.&#60;/p&#62;
&#60;p&#62;If you are using Gravity Forms v1.6 which is currently in beta you would use this hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If you are using an older version of Gravity Forms you would use this hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I recommend using Gravity Forms v1.6 as the new hook is replacing the old one as the ideal hook to use for this type of customization.&#60;/p&#62;
&#60;p&#62;Your custom code would either go in your themes functions.php file or you could create your own custom plugin that you would then activate.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Tremolo on "Calculating Averages"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/calculating-averages#post-35379</link>
			<pubDate>Thu, 15 Sep 2011 02:56:16 +0000</pubDate>
			<dc:creator>Tremolo</dc:creator>
			<guid isPermaLink="false">35379@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;Further to this thread:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/mathematics-to-gravity-forms&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;We've got a review form where users post scores for particular criteria, these are radio buttons with values between 1 and 10. There are 8 of these with titles like Management Style and Remuneration etc.&#60;/p&#62;
&#60;p&#62;This is the form:&#60;br /&#62;
&#60;a href=&#34;http://www.jobinsider.com.au/new-review-form&#34; rel=&#34;nofollow&#34;&#62;http://www.jobinsider.com.au/new-review-form&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Once the reviews have been approved (post status changed from Draft to Published) by a moderator the results are published into a post that's attached to that company. I'd like to calculate the average score of those 8 fields and include the score in the published results.&#60;/p&#62;
&#60;p&#62;This is an example of the published result:&#60;br /&#62;
&#60;a href=&#34;http://www.jobinsider.com.au/fictional-company&#34; rel=&#34;nofollow&#34;&#62;http://www.jobinsider.com.au/fictional-company&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm no great shakes at PHP but I do have a developer helping us out who can help implement.&#60;/p&#62;
&#60;p&#62;Appreciate any help you can provide.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
