<?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: Making at least one of two fields mandatory</title>
		<link>https://legacy.forums.gravityhelp.com/topic/making-at-least-one-of-two-fields-mandatory</link>
		<description>Gravity Support Forums Topic: Making at least one of two fields mandatory</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 05:22:03 +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/making-at-least-one-of-two-fields-mandatory" rel="self" type="application/rss+xml" />

		<item>
			<title>travishines on "Making at least one of two fields mandatory"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-at-least-one-of-two-fields-mandatory#post-26319</link>
			<pubDate>Wed, 25 May 2011 16:10:54 +0000</pubDate>
			<dc:creator>travishines</dc:creator>
			<guid isPermaLink="false">26319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the quick reply Carl.  As a work-around, I was able to use a multiple-choice field with two options, both of which conditionally show a new field.  Making that multiple-choice field required, technically makes either of the two conditional fields below it required.&#60;/p&#62;
&#60;p&#62;Not the most ideal solution, but in an either or instance, it does the trick.&#60;/p&#62;
&#60;p&#62;I, like many others, still vote for the ability to group fields (beyond sections), and apply conditional requirement logic to the fields in groups :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Making at least one of two fields mandatory"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-at-least-one-of-two-fields-mandatory#post-26312</link>
			<pubDate>Wed, 25 May 2011 15:31:31 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">26312@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is no built in way to make one or the other required.  A field is either required, or it is not required.&#60;/p&#62;
&#60;p&#62;You can, however, write your own custom validation using the gform_validation hook.  So you could do this as a customization.  Documentation for the gform_validation hook can be found here:&#60;/p&#62;
&#60;p&#62;&#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;
&#60;p&#62;A tutorial on how to use the gform_validation hook to write custom validation can be found here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Using_the_Gravity_Forms_%22gform_valiation%22_Hook&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>travishines on "Making at least one of two fields mandatory"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-at-least-one-of-two-fields-mandatory#post-26307</link>
			<pubDate>Wed, 25 May 2011 14:35:03 +0000</pubDate>
			<dc:creator>travishines</dc:creator>
			<guid isPermaLink="false">26307@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have the exact same question.  Is there a way to apply conditional logic to make at least one of any X fields required?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dmjarvis on "Making at least one of two fields mandatory"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/making-at-least-one-of-two-fields-mandatory#post-25517</link>
			<pubDate>Sat, 14 May 2011 01:07:02 +0000</pubDate>
			<dc:creator>dmjarvis</dc:creator>
			<guid isPermaLink="false">25517@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In one of my contact forms I have a field for telephone number and a field for email address. I don't want to force my visitors to enter both fields, but I would like at least one of them entered before the form can be submitted.&#60;/p&#62;
&#60;p&#62;Is there a way of making 'at least one' of a group of fields mandatory?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
