<?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 Logic</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-15</link>
		<description>Gravity Support Forums Topic: Conditional Logic</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 02:50:14 +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-logic-15" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-15#post-170531</link>
			<pubDate>Wed, 13 Mar 2013 22:51:54 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">170531@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can add field B to your form and make it required.  Hide it with conditional logic that says &#34;if field A is selected, then show this field.&#34;  If field A is selected, field B will show and be required.  If field A is not selected, field B will never show, and will still pass validation even though it is hidden and required.&#60;/p&#62;
&#60;p&#62;Let me know if I missed something or overlooked an obvious shortcoming in this approach.  I use a similar approach here: &#60;a href=&#34;http://gravity.chrishajer.com/contact-us-left-and-right/&#34; rel=&#34;nofollow&#34;&#62;http://gravity.chrishajer.com/contact-us-left-and-right/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;You would not need two choices for A (as I use radio buttons here for call or email.) However, the phone and email fields are both required, and only one will even be submitted, because they are both hidden with conditional logic and only one will ever show.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-15#post-168969</link>
			<pubDate>Tue, 12 Mar 2013 13:48:17 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">168969@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, but using PHP and our gform_validation hook, you can send back an error to the user if they select a but not b. &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_validation&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_validation&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>onyourmarkllc on "Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-15#post-168957</link>
			<pubDate>Tue, 12 Mar 2013 13:21:23 +0000</pubDate>
			<dc:creator>onyourmarkllc</dc:creator>
			<guid isPermaLink="false">168957@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to use conditional logic to require field &#34;b&#34; if field &#34;a&#34; is selected?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
