<?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: Populate and Hide Name and Email for Logged in Users</title>
		<link>https://legacy.forums.gravityhelp.com/topic/populate-and-hide-name-and-email-for-logged-in-users</link>
		<description>Gravity Support Forums Topic: Populate and Hide Name and Email for Logged in Users</description>
		<language>en-US</language>
		<pubDate>Wed, 22 Apr 2026 14:24:52 +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/populate-and-hide-name-and-email-for-logged-in-users" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Populate and Hide Name and Email for Logged in Users"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-and-hide-name-and-email-for-logged-in-users#post-32701</link>
			<pubDate>Tue, 16 Aug 2011 22:43:07 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">32701@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You could use the built-in WordPress body class of &#34;logged-in&#34; to target the id's for name and email.  Then you could hide them with CSS &#60;strong&#62;display:none&#60;/strong&#62;.  The logged-in body class would not be present if the user is not logged in, so the fields would not be hidden.&#60;/p&#62;
&#60;p&#62;You would still do as Carl suggests and pre-populate the form fields.  They would just be empty when the user is not logged in (and visible) and would be filled (and not visible) when the user is logged in.&#60;/p&#62;
&#60;p&#62;Hiding the fields with CSS is not secure: they're still present in the source of the page.  But it did not sound like you wanted security, you just wanted to eliminate redundant inputs for logged in users.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Populate and Hide Name and Email for Logged in Users"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-and-hide-name-and-email-for-logged-in-users#post-32662</link>
			<pubDate>Tue, 16 Aug 2011 14:19:00 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">32662@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently there is no way to hide fields for logged in users.  But you could pre-populate them with the users data.  For the Name Field in order to do this you'd have to use the Simple format which uses one field.&#60;/p&#62;
&#60;p&#62;You would then go to the Advanced tab when editing these fields and use the insert variable drop down to insert the merge tag for the Users Email or the User Display Name.  See this screenshot: &#60;a href=&#34;http://i.imgur.com/05gDj.png&#34; rel=&#34;nofollow&#34;&#62;http://i.imgur.com/05gDj.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The merge tag {user} can also be used to access any user meta information using it's name/key.  You would use {user:key} with the key being the name of the user meta you want to display.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Prophet on "Populate and Hide Name and Email for Logged in Users"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/populate-and-hide-name-and-email-for-logged-in-users#post-32632</link>
			<pubDate>Tue, 16 Aug 2011 01:58:04 +0000</pubDate>
			<dc:creator>Prophet</dc:creator>
			<guid isPermaLink="false">32632@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form that has two required fields for Name and Email at the top of the form.&#60;/p&#62;
&#60;p&#62;How can I populate these fields with a user's data and hide them for logged in users?&#60;/p&#62;
&#60;p&#62;This is a public form that anyone can use, so I need those fields to be visible for non-logged in users but it is redundant to ask logged in users for this information.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
