<?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: Required field with condition</title>
		<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion</link>
		<description>Gravity Support Forums Topic: Required field with condition</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:43:19 +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/required-field-with-condidtion" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43759</link>
			<pubDate>Mon, 12 Dec 2011 10:29:10 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43759@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There you go.  Thanks for posting your solution.  It will serve as a good reminder to include wp_head().  Thanks and have a good day.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lea Cohen on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43742</link>
			<pubDate>Mon, 12 Dec 2011 07:56:36 +0000</pubDate>
			<dc:creator>Lea Cohen</dc:creator>
			<guid isPermaLink="false">43742@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Ok, I found the problem. I had made a dedicated Page template, and had neglected to call wp_head(). Now I called it, and the page loads fine. Thank you!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43718</link>
			<pubDate>Mon, 12 Dec 2011 00:46:34 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43718@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;If you are getting a blank page, chances are it's a 500 Internal Server error, and probably not related to the conditional logic.  If you have access to server logs, you should be able to see what error is being recorded and triggering the blank page.&#60;/p&#62;
&#60;p&#62;Please post a link to your form if you would like us to take a look at it.  But if it is an Internal Server Error, you will need to display errors or enable logging and see what the error actually is.  The blank page just tells you there was a problem processing the php code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lea Cohen on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43692</link>
			<pubDate>Sun, 11 Dec 2011 06:01:38 +0000</pubDate>
			<dc:creator>Lea Cohen</dc:creator>
			<guid isPermaLink="false">43692@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Chris,&#60;/p&#62;
&#60;p&#62;Thank you for your suggestion. I think it might be a good solution (I still have to consult our designer for any design issues), but it's not working....&#60;br /&#62;
I added the radio button field, and then applied the conditional logic to the upload file field. But then when I open the form - all I get is a blank page...
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43078</link>
			<pubDate>Sun, 04 Dec 2011 18:06:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">43078@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would add a radio button before those fields show up, asking if you want to &#34;upload or add URL&#34; - then, with conditional logic, show the upload field for one choice and the URL field for the other choice.  Make all 3 fields required (the decision, the URL field and the upload field) and with conditional logic, the one required but hidden field that is not being used will not trigger a validation error even though it's empty.  It's not really counted.&#60;/p&#62;
&#60;p&#62;Does that work well enough for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Lea Cohen on "Required field with condition"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/required-field-with-condidtion#post-43053</link>
			<pubDate>Sun, 04 Dec 2011 08:28:24 +0000</pubDate>
			<dc:creator>Lea Cohen</dc:creator>
			<guid isPermaLink="false">43053@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;In the form I'm creating, I want the user to either upload a file from their computer, or insert a url from the web. So I created 2 fields, but really only one of the  is required. How can I do this in a user friendly way?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
