<?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: Hide field only if prepopulated</title>
		<link>https://legacy.forums.gravityhelp.com/topic/hide-field-only-if-prepopulated</link>
		<description>Gravity Support Forums Topic: Hide field only if prepopulated</description>
		<language>en-US</language>
		<pubDate>Wed, 08 Apr 2026 11:17:13 +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/hide-field-only-if-prepopulated" rel="self" type="application/rss+xml" />

		<item>
			<title>charger15 on "Hide field only if prepopulated"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-field-only-if-prepopulated#post-33682</link>
			<pubDate>Sat, 27 Aug 2011 11:25:12 +0000</pubDate>
			<dc:creator>charger15</dc:creator>
			<guid isPermaLink="false">33682@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks for your tip! This is how I solved it (code added to header.php):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
&#38;lt;style&#38;gt;
&#38;lt;?php
  // get ref parameter from query string
  $ref_id = $_GET[&#38;#39;ref&#38;#39;];
  // if the parameter has a value (which means it is a redirect from another page), hide certain fields
  if(isset($ref_id)){
    echo &#38;quot;#field_1_17,#field_1_18{display:none;}&#38;quot;; //
  }
?&#38;gt;
&#38;lt;/style&#38;gt;&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Carl Hancock on "Hide field only if prepopulated"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-field-only-if-prepopulated#post-33324</link>
			<pubDate>Tue, 23 Aug 2011 15:59:16 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">33324@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The only thing I can think of is to use PHP and output CSS to set those fields to display hidden depending on a query string parameter passed to it.  There isn't currently a built in easy way to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>charger15 on "Hide field only if prepopulated"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/hide-field-only-if-prepopulated#post-33283</link>
			<pubDate>Tue, 23 Aug 2011 07:15:28 +0000</pubDate>
			<dc:creator>charger15</dc:creator>
			<guid isPermaLink="false">33283@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have two fields (Title and Category Post Field) that can either be filled in manually or get prepopulated, depending on which way (direct link or redirect from post) you get to the form.&#60;/p&#62;
&#60;p&#62;I now would like to hide the two fields IF they get prepopulated. To set the visibility to Admin only won't help as it then is always hidden. Any ideas?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
