<?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 fields for registered user</title>
		<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user</link>
		<description>Gravity Support Forums Topic: Conditional fields for registered user</description>
		<language>en-US</language>
		<pubDate>Fri, 03 Apr 2026 19:39:42 +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-fields-for-registered-user" rel="self" type="application/rss+xml" />

		<item>
			<title>trewknowledge on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-46167</link>
			<pubDate>Wed, 11 Jan 2012 17:17:49 +0000</pubDate>
			<dc:creator>trewknowledge</dc:creator>
			<guid isPermaLink="false">46167@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would love to be able to get this to work as well.&#60;/p&#62;
&#60;p&#62;The only issue I am having with using the code provided by David Smith, is that I am trying to have this set on the post title.&#60;/p&#62;
&#60;p&#62;Reason being is that I want to have registered users the ability to submit a post, and it will be published automatically. But if you are not a registered member and you submit a post, it needs to be saved as a draft.&#60;/p&#62;
&#60;p&#62;In GF I cannot add more than one Title field in my form.&#60;/p&#62;
&#60;p&#62;Any workaround for this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>avendimedia on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-40513</link>
			<pubDate>Tue, 08 Nov 2011 16:44:03 +0000</pubDate>
			<dc:creator>avendimedia</dc:creator>
			<guid isPermaLink="false">40513@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hey, not sure if this is still an issue, but I've built this functionality out before. I built it on Gravity Forms 1.5.x, but it seems to work on 1.6.1 as well (haven't really tested it, though). If you want the code, you can find it here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://gist.github.com/04943d6e99370542b38a&#34; rel=&#34;nofollow&#34;&#62;https://gist.github.com/04943d6e99370542b38a&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;That code would work fine as a mu-plugin, or, with some plugin headers added, as a regular plugin as well.&#60;/p&#62;
&#60;p&#62;Hope this helps!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23442</link>
			<pubDate>Fri, 15 Apr 2011 18:20:14 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23442@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I completely understand, it's something we definitely plan on adding eventually. I definitely didn't take it as a belittling comment, we appreciate the feedback as it helps us shape future features to know what users want and deliver features that we know are in demand.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23438</link>
			<pubDate>Fri, 15 Apr 2011 17:54:30 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">23438@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for the update. I just wanted to make it clear that I am always amazed at the great support and features you offer I just get curious and want to know if GF can do this or that. I'm not trying to belittle what it already does. &#60;/p&#62;
&#60;p&#62;Thanks for a great 1.5 release.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23360</link>
			<pubDate>Fri, 15 Apr 2011 11:39:18 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23360@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;No, there isn't currently a way to do this at the server level.  It's a feature we would like to add, but it isn't something we have added yet.  We just finished a huge development cycle for Gravity Forms v1.5 so our hands have been tied up with development related to that release.  We'll start new feature development soon.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23327</link>
			<pubDate>Thu, 14 Apr 2011 23:05:55 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">23327@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Carl, Anyway to show/hide the &#34;if logged in&#34; field at the server (PHP) level?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23251</link>
			<pubDate>Thu, 14 Apr 2011 11:49:11 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">23251@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;There is no way to fix this, dom editors are going to be able to override classes as well as Javascript if the user really knows what they are doing.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23212</link>
			<pubDate>Wed, 13 Apr 2011 23:27:38 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">23212@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Works great, the only problem is I'm able to override &#34;gform_hidden&#34; with a dom editor such as firebug. Not the biggest deal in my case but is there a way to fix this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BandonRandon on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-23035</link>
			<pubDate>Tue, 12 Apr 2011 00:46:33 +0000</pubDate>
			<dc:creator>BandonRandon</dc:creator>
			<guid isPermaLink="false">23035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks Dave. I'll give that a try soon and report back.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Conditional fields for registered user"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/conditional-fields-for-registered-user#post-22859</link>
			<pubDate>Fri, 08 Apr 2011 22:13:22 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">22859@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;**Update:** &#60;a href=&#34;http://gravitywiz.com/gravity-forms-conditional-logic-based-on-user-login/&#34; rel=&#34;nofollow&#34;&#62;Here is a more in-depth write up (with pictures!) of how this can be implemented.&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Here is an alternate concept for showing/hiding fields based on whether the user is logged in or not. We will use the the Gravity Forms' &#60;strong&#62;gform_field_value&#60;/strong&#62; filter to dynamically populate a multiple choice field based on whether the user is logged in or not. We can then use Gravity Forms' conditional logic to show or hide fields based on our dynamically populated multiple choice field. Steps to recreate below:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;Create a multiple choice field with these settings:&#60;br /&#62;
&#60;a href=&#34;http://content.screencast.com/users/spivurno/folders/Jing/media/0ba367e1-b93b-411f-a645-e7282c3c674f/2011-04-08_1536.png&#34; rel=&#34;nofollow&#34;&#62;Standard Properties&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://content.screencast.com/users/spivurno/folders/Jing/media/52a827bd-0778-45c2-85f4-f083108cb24f/2011-04-08_1535.png&#34; rel=&#34;nofollow&#34;&#62;Advanced Properties&#60;/a&#62;
&#60;/li&#62;
&#60;li&#62;Create a field that should only be visible to users who are logged in by setting the field's conditional logic to only show the field when our multiple choice field indicates that the user is logged in: &#60;a href=&#34;http://grab.by/9Q5k&#34; rel=&#34;nofollow&#34;&#62;Sample Logic&#60;/a&#62;.&#60;/li&#62;
&#60;li&#62;Now let's paste the code below into your theme's &#60;em&#62;functions.php&#60;/em&#62; file: &#60;a href=&#34;http://pastie.org/1774186&#34; rel=&#34;nofollow&#34;&#62;Magical Code&#60;/a&#62;.&#60;br /&#62;
So what does this snippet do? Remember on step one when we created the multiple choice field and specified a dynamic population parameter titled &#34;loggedin&#34; under the Advanced properties tab? This snippet looks for any field with the &#34;loggedin&#34; population parameter and populates a value of &#60;strong&#62;1&#60;/strong&#62; or &#60;strong&#62;0&#60;/strong&#62; depending on whether the user is logged in.
&#60;/li&#62;
&#60;li&#62;That should be it. If you access the form as a logged in user, your conditional field should show up. Now log out and access the form again. Your field should be hidden.&#60;/li&#62;
&#60;/ol&#62;</description>
		</item>

	</channel>
</rss>
