<?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: Any way to NOT capture IP Address on certain forms?</title>
		<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms</link>
		<description>Gravity Support Forums Topic: Any way to NOT capture IP Address on certain forms?</description>
		<language>en-US</language>
		<pubDate>Mon, 06 Apr 2026 23:49:18 +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/any-way-to-not-capture-ip-address-on-certain-forms" rel="self" type="application/rss+xml" />

		<item>
			<title>SoundsGood on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-54802</link>
			<pubDate>Tue, 10 Apr 2012 16:03:02 +0000</pubDate>
			<dc:creator>SoundsGood</dc:creator>
			<guid isPermaLink="false">54802@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you Alex.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Alex Cancado on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-54672</link>
			<pubDate>Mon, 09 Apr 2012 17:15:16 +0000</pubDate>
			<dc:creator>Alex Cancado</dc:creator>
			<guid isPermaLink="false">54672@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;The following code snippet should do the trick. Just make sure to replace the form ID with your actual value (see Note).&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_after_submission&#38;#39;, &#38;#39;remove_ip&#38;#39;, 10, 2);
function remove_ip($entry, $form) {
    global $wpdb;

    //NOTE: replace 79 below with your actual form ID. The form you don&#38;#39;t want the IP&#38;#39;s to be recorded
    if($form[&#38;quot;id&#38;quot;] == 79){
        //removing IP from entry table
        $wpdb-&#38;gt;query($wpdb-&#38;gt;prepare(&#38;quot;UPDATE {$wpdb-&#38;gt;prefix}rg_lead SET ip=&#38;#39;&#38;#39; WHERE id=%d&#38;quot;, $entry[&#38;quot;id&#38;quot;]));
    }
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>SoundsGood on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-54639</link>
			<pubDate>Mon, 09 Apr 2012 12:52:54 +0000</pubDate>
			<dc:creator>SoundsGood</dc:creator>
			<guid isPermaLink="false">54639@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks, but I don't have a clue how to do that.  I'm bummed (and surprised, frankly) that we can't just shut off the IP collection if we want to.&#60;/p&#62;
&#60;p&#62;Can someone recommend another easy to use form submission tool that does NOT send the IP address?  I've gotta get this done.&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-54346</link>
			<pubDate>Thu, 05 Apr 2012 10:18:58 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">54346@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Not sure if there is a way to not have the IP come through, however it probably can be deleted using the after_submission hook:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SoundsGood on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-54077</link>
			<pubDate>Tue, 03 Apr 2012 13:01:24 +0000</pubDate>
			<dc:creator>SoundsGood</dc:creator>
			<guid isPermaLink="false">54077@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks dNb, but I'm not a programmer so I'm really hoping someone from GravityForms can help with this.&#60;/p&#62;
&#60;p&#62;Here's the thing:  the site is for a police department.  They need one form that DOES capture the ip address and one form that DOES NOT capture.  Apparently it's illegal to capture ip addresses on anonymous forms, and since they're the police...  well, you know.&#60;/p&#62;
&#60;p&#62;Anyone ??&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>dnb on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-53876</link>
			<pubDate>Fri, 30 Mar 2012 12:53:10 +0000</pubDate>
			<dc:creator>dnb</dc:creator>
			<guid isPermaLink="false">53876@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi-&#60;br /&#62;
  I asked what I think is a similar question a while back and gave a proposal for an answer in my &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/anonymous-feedback-form&#34; rel=&#34;nofollow&#34;&#62;posting&#60;/a&#62; that I haven't tried yet (was waiting to hear back from support). It may be helpful to you. Please let me know if it works out for you.&#60;/p&#62;
&#60;p&#62;      -- dNb
&#60;/p&#62;</description>
		</item>
		<item>
			<title>SoundsGood on "Any way to NOT capture IP Address on certain forms?"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/any-way-to-not-capture-ip-address-on-certain-forms#post-53675</link>
			<pubDate>Wed, 28 Mar 2012 10:10:46 +0000</pubDate>
			<dc:creator>SoundsGood</dc:creator>
			<guid isPermaLink="false">53675@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Currently the IP Address of a user is captured when they submit a form.  Normally this is a good thing, but I've got a situation (with just one form) where it CANNOT be collected for legal reasons.  So...&#60;/p&#62;
&#60;p&#62;Is there any way to NOT capture the IP Address on just ONE form on a site?  Again, this is not for all the forms on the site, just one in particular.&#60;/p&#62;
&#60;p&#62;Thanks...
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
