<?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 based on form field empty or filled in?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-based-on-form-field-empty-or-filled-in</link>
		<description>Gravity Support Forums Topic: Conditional logic based on form field empty or filled in?</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 09:19:10 +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-based-on-form-field-empty-or-filled-in" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Conditional logic based on form field empty or filled in?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-based-on-form-field-empty-or-filled-in#post-24797</link>
			<pubDate>Wed, 04 May 2011 17:04:47 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">24797@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Here is a link to documentation on all of our hooks:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Developer_Docs&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Developer_Docs&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is a link to the specific hook that I think you might want to use to accomplish this:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_post_data&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_post_data&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bethfly on "Conditional logic based on form field empty or filled in?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-based-on-form-field-empty-or-filled-in#post-24794</link>
			<pubDate>Wed, 04 May 2011 16:20:40 +0000</pubDate>
			<dc:creator>bethfly</dc:creator>
			<guid isPermaLink="false">24794@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, David. How would I learn about GF hooks and how to use them?  I have no idea what that means, but I'd love to figure it out.  Is there information on this site?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Conditional logic based on form field empty or filled in?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-based-on-form-field-empty-or-filled-in#post-24792</link>
			<pubDate>Wed, 04 May 2011 16:04:19 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">24792@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Beth,&#60;/p&#62;
&#60;p&#62;Conditional logic is limited to multiple choice, check box, and drop down fields. Unfortunately, I can not think of any way around the straggler comma without using GF hooks to customize the post body content.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bethfly on "Conditional logic based on form field empty or filled in?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-logic-based-on-form-field-empty-or-filled-in#post-24789</link>
			<pubDate>Wed, 04 May 2011 15:44:28 +0000</pubDate>
			<dc:creator>bethfly</dc:creator>
			<guid isPermaLink="false">24789@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi.  I'm wondering if it's possible to use conditional logic to display a form field base on whether another form field has data in it or not.  I only see conditional logic options based on answers on multiple choice or check box kind of answers. &#60;/p&#62;
&#60;p&#62;Or maybe you can help me figure out how to do exactly what I want to do.  I have fields for state and country, which are mandatory and are dropdown lists, and a field for city that is and optional text box.  I am creating a blog post with the data, and I want to put a comma between city and state, if the city field is filled in.  But not if that field is blank.  I don't want a comma just hanging out there without a city in front of it.&#60;/p&#62;
&#60;p&#62;Another example is a field for URL.  It's also optional.  People can enter the URL of their blog.  If it's filled in, I want my blog post to to have a label that says &#34;Personal Blog:&#34; before the URL.  But I don't want &#34;Personal Blog:&#34; to print if there is no URL filled in.&#60;/p&#62;
&#60;p&#62;For the comma and the text, I was going to use hidden text fields with those characters prepopulated.&#60;/p&#62;
&#60;p&#62;Is there some other way to achieve the desired result?&#60;/p&#62;
&#60;p&#62;beth
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
