<?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: Remove a field completely from the form entries in the backend</title>
		<link>https://legacy.forums.gravityhelp.com/topic/remove-a-field-completely-from-the-form-entries-in-the-backend</link>
		<description>Gravity Support Forums Topic: Remove a field completely from the form entries in the backend</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 11:30:59 +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/remove-a-field-completely-from-the-form-entries-in-the-backend" rel="self" type="application/rss+xml" />

		<item>
			<title>rtCamp on "Remove a field completely from the form entries in the backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/remove-a-field-completely-from-the-form-entries-in-the-backend#post-50906</link>
			<pubDate>Wed, 29 Feb 2012 05:55:43 +0000</pubDate>
			<dc:creator>rtCamp</dc:creator>
			<guid isPermaLink="false">50906@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Just an update... I dived into entry_detail.php and found this filter being applied there:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;gform_field_content&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;So the following worked for me...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;#39;gform_field_content&#38;#39;, &#38;#39;rtp_remove_field&#38;#39;, 10, 4);
function rtp_remove_field($content, $field, $value, lead_id, form_id){
    if(RG_CURRENT_VIEW == &#38;#39;entry&#38;#39;){
        if($field[&#38;#39;label&#38;#39;] == &#38;#39;My Label&#38;#39; &#124;&#124; $field[&#38;#39;cssClass&#38;#39;] == &#38;#39;my_choice&#38;#39;){
        }
        else{
            return $content;
        }
    }
    else {
            return $content;
    }
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Just please let me know if this is a safe way to do so.&#60;br /&#62;
Thanks if anyone has looked into this.&#60;/p&#62;
&#60;p&#62;Rutwick,&#60;br /&#62;
rtCamp.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>rtCamp on "Remove a field completely from the form entries in the backend"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/remove-a-field-completely-from-the-form-entries-in-the-backend#post-50900</link>
			<pubDate>Wed, 29 Feb 2012 02:51:06 +0000</pubDate>
			<dc:creator>rtCamp</dc:creator>
			<guid isPermaLink="false">50900@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
Been stuck over this for a long time now!&#60;br /&#62;
I have a contact form, in which I'm using a couple of hidden fields to store values (pre populating them using 'gform_pre_render') to be used by jQuery popups. These fields are just dumb place holders (but it should be submitted because I require the submitted values to do some after form submission stuff). &#60;/p&#62;
&#60;p&#62;I don't want the entries for these fields to appear in any of this form's single entries in the backend. There are 2 ways I tried this:&#60;/p&#62;
&#60;p&#62;1. Using gform_pre_submission, to remove the field while submitting the form itself&#60;br /&#62;
2. Using gform_entry_field_value, to remove the field when rendering the corresponding single entry in the backend. This works but the 'tr' for this fields label and value still appears in the backend single entry view ( with no text ofcourse, just blank trs and tds).&#60;/p&#62;
&#60;p&#62;Lets say my hidden fields are 'Popup Text' and 'Priority'. I'm using Popup Text as a place holder for some data inserted using gform_pre_render, and manipulating Priority with a value using jQuery. So I don't want either of these entries to appear in the backend entry display, but I need the submitted priority to do some processing.&#60;/p&#62;
&#60;p&#62;Here's my code if you need to see it:&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/ANQiLUWP&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/ANQiLUWP&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I hope I'm clear on this! Precisely, I just want to completely remove a field from the form entry single display page (and 'edit' entry as well) in the backend.&#60;br /&#62;
Any way I can do this?&#60;br /&#62;
Thanks,&#60;br /&#62;
rtCamp
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
