<?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: Complex and nested conditional logic</title>
		<link>https://legacy.forums.gravityhelp.com/topic/complex-and-nested-conditional-logic</link>
		<description>Gravity Support Forums Topic: Complex and nested conditional logic</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:09:45 +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/complex-and-nested-conditional-logic" rel="self" type="application/rss+xml" />

		<item>
			<title>UT RadOnc on "Complex and nested conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/complex-and-nested-conditional-logic#post-116909</link>
			<pubDate>Tue, 08 Jan 2013 15:02:59 +0000</pubDate>
			<dc:creator>UT RadOnc</dc:creator>
			<guid isPermaLink="false">116909@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm not sure whether I should add this request for help to this thread or post it in the general forum, so apologies if it's in the wrong place. I can move it, if necessary.&#60;/p&#62;
&#60;p&#62;I need to find a workaround for this until nested conditions are available. I am creating a form where a section needs to display if A=true AND NOT[B-true AND C=false]. The C field will be either blank or begin with one of 3 specific text strings.&#60;/p&#62;
&#60;p&#62;Any ideas for a workaround for this? I've been wracking my brains but can't figure a way around this.&#60;/p&#62;
&#60;p&#62;I've created a test form so that what I'm trying to do will be clearer:&#60;br /&#62;
&#60;a href=&#34;http://www.radonc.utoronto.ca/test-page-for-forms&#34; rel=&#34;nofollow&#34;&#62;http://www.radonc.utoronto.ca/test-page-for-forms&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Right now I have the section header line (at bottom) displaying without any conditions, but I need to be able to display that section only if:&#60;/p&#62;
&#60;p&#62;Status field = External (always)&#60;br /&#62;
AND&#60;br /&#62;
any Choice (with or without a promo code)&#60;br /&#62;
BUT NOT if the Choice is A without a Promotional Code.&#60;/p&#62;
&#60;p&#62;Promo code should be blank (if none) OR begin with one of 3 text strings (which may or may not be followed by other characters). In trying to make this as idiot-proof as possible, I'd rather not start with a default value (e.g. &#34;none&#34;) and test for that value (to see if there is no promo code), since the default value could be erased or changed, in which case it wouldn't be an accurate test. And since there's no way (that I know of) to test for a blank text field, I'm stuck testing only if the field starts with one of the 3 possibilities.&#60;/p&#62;
&#60;p&#62;One possible workaround I thought of, but can't figure out if I can do it, is to use a hidden (admin-only) field that would generate a value based on what the other field selections are? For example, to test if the promo code exists AND if the Choice is A. The resulting value of the hidden field could be checked in determining whether to display or hide the section at the bottom.&#60;/p&#62;
&#60;p&#62;Thank you for your help!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>UT RadOnc on "Complex and nested conditional logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/complex-and-nested-conditional-logic#post-116860</link>
			<pubDate>Tue, 08 Jan 2013 12:29:55 +0000</pubDate>
			<dc:creator>UT RadOnc</dc:creator>
			<guid isPermaLink="false">116860@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;As recently as October 2012, I'm seeing references in the forums to a new feature for conditional logic involving complex or nested conditions. I'm not able to find this in the documentation though, and it doesn't seem to be available in the current version (1.6.11). &#60;/p&#62;
&#60;p&#62;What I'm looking to do is (as an example) to display a field if Q1=x AND [Q2=a OR Q2=b]. &#60;/p&#62;
&#60;p&#62;I have tried to think of how to work around this, but can't find a way. Sometimes I can figure out a work-around, but that's always possible.&#60;/p&#62;
&#60;p&#62;Can you let me know if this is still a feature you expect to implement in the foreseeable future? If so, what's the anticipated roll-out for this?&#60;/p&#62;
&#60;p&#62;While I'm here talking about a wish-list for conditional logic, I'll add a couple of other feature requests. It would be very helpful to have a negative version of many of the current conditions. For example: NOT containing, NOT starting with, etc.&#60;/p&#62;
&#60;p&#62;Another feature I would find extremely useful is to be able to check for when a text field is left blank. It doesn't always work in all situations to test for a particular entry. In most cases, I've been able to do some rather complicated work-arounds, but some situations just won't work around. Having the ability to test if a text field is blank would allow much more flexibility and efficiency.&#60;/p&#62;
&#60;p&#62;Many thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
