<?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: Dynamic Calculations</title>
		<link>https://legacy.forums.gravityhelp.com/topic/dynamic-calculations</link>
		<description>Gravity Support Forums Topic: Dynamic Calculations</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 21:48:42 +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/dynamic-calculations" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Dynamic Calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-calculations#post-169748</link>
			<pubDate>Wed, 13 Mar 2013 07:59:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">169748@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Mark, I saw that you created a priority support ticket (18096) and you are already in communication with support there.  I'll close this ticket.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rcDev on "Dynamic Calculations"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/dynamic-calculations#post-167878</link>
			<pubDate>Mon, 11 Mar 2013 13:05:53 +0000</pubDate>
			<dc:creator>rcDev</dc:creator>
			<guid isPermaLink="false">167878@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, I am trying to do a calculation using other fields as parameters. &#60;/p&#62;
&#60;p&#62;I need FLOOR. So I can't use the simple BEDMAS formulas allowed in GF. &#60;/p&#62;
&#60;p&#62;I found several references to using hooks and JS to accomplish this, like this one:&#60;br /&#62;
&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/calculation-issue-1#post-144801&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/calculation-issue-1#post-144801&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;However, I am coming up short on solving the problem. Currently, I am using a *Product Field* and the &#60;code&#62;gform_field_value_{parameter_name}&#60;/code&#62; hook.  I can change the price to something static but can't seem to access any other fields using &#60;code&#62;rgpost&#60;/code&#62; or &#60;code&#62;rgget&#60;/code&#62;.&#60;/p&#62;
&#60;p&#62;I can use &#60;code&#62;rggpost&#60;/code&#62; during &#60;code&#62;gform_pre_render&#60;/code&#62; to get these values but not in &#60;code&#62;gform_field_value_{parameter_name}&#60;/code&#62;. Are we not meant to be able to obtain form information from this hook? &#60;/p&#62;
&#60;p&#62;That seems weird.&#60;/p&#62;
&#60;p&#62;I looked in &#60;code&#62;forms_model.php&#60;/code&#62; and in the function &#60;code&#62;get_parameter_value&#60;/code&#62;, they are using &#60;code&#62;rgget&#60;/code&#62; to obtain the value to be filtered. And in the function that calls that, &#60;code&#62;get_input_value&#60;/code&#62;, they are using &#60;code&#62;rgpost&#60;/code&#62; to obtain values by the standard form &#60;code&#62;input_{field_ID}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So it works before the filter gets called but not during?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
