<?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: conditional statements and values from multiple fields in calculation formulas?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas</link>
		<description>Gravity Support Forums Topic: conditional statements and values from multiple fields in calculation formulas?</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 03:52: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/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "conditional statements and values from multiple fields in calculation formulas?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas#post-99562</link>
			<pubDate>Thu, 06 Dec 2012 08:06:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">99562@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you need that information stored in the entry, but it does not need to be shown on screen, you can use the gform_pre_submission filter &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_pre_submission_filter&#60;/a&#62; to read the values which were submitted, then perform your logic based on the answers, then update a hidden field in the form.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sydeburn on "conditional statements and values from multiple fields in calculation formulas?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas#post-98888</link>
			<pubDate>Tue, 04 Dec 2012 17:11:22 +0000</pubDate>
			<dc:creator>sydeburn</dc:creator>
			<guid isPermaLink="false">98888@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;What I want to do is show/store a value based on the way multiple questions were answered. In my example above, I'm saying I want to show &#34;2&#34; if the user answered &#34;yes&#34; to BOTH questions A and B, or show &#34;1&#34; if the user answered yes to EITHER A or B.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "conditional statements and values from multiple fields in calculation formulas?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas#post-97053</link>
			<pubDate>Thu, 29 Nov 2012 17:15:45 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">97053@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Conditional statements are not supported in the calculations. You might be able to do this with conditional logic but I'm unclear what it is you need to do based on your question.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>sydeburn on "conditional statements and values from multiple fields in calculation formulas?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-statements-and-values-from-multiple-fields-in-calculation-formulas#post-97041</link>
			<pubDate>Thu, 29 Nov 2012 16:23:40 +0000</pubDate>
			<dc:creator>sydeburn</dc:creator>
			<guid isPermaLink="false">97041@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is it possible to use conditional statements and values from multiple fields in calculation formulas? For example, say I have a number field called calc1, and I apply a formula to it. I want the value to be calculated based on what was answered in previous questions q1 and q2:&#60;/p&#62;
&#60;p&#62;calc1 = 2 if (q1==yes AND q2==yes)&#60;br /&#62;
else&#60;br /&#62;
calc1=1 if (q1==yes OR q2==yes)&#60;br /&#62;
else&#60;br /&#62;
calc1=0&#60;/p&#62;
&#60;p&#62;Thanks in advance.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
