<?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: Would Like Entries Go Directly To Email &#124; NOT to Database</title>
		<link>https://legacy.forums.gravityhelp.com/topic/would-like-entries-go-directly-to-email-not-to-database</link>
		<description>Gravity Support Forums Topic: Would Like Entries Go Directly To Email | NOT to Database</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:13:23 +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/would-like-entries-go-directly-to-email-not-to-database" rel="self" type="application/rss+xml" />

		<item>
			<title>lmabee on "Would Like Entries Go Directly To Email &#124; NOT to Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/would-like-entries-go-directly-to-email-not-to-database#post-116887</link>
			<pubDate>Tue, 08 Jan 2013 13:47:45 +0000</pubDate>
			<dc:creator>lmabee</dc:creator>
			<guid isPermaLink="false">116887@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thank you very much Chris, your help has been truly appreciated.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Would Like Entries Go Directly To Email &#124; NOT to Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/would-like-entries-go-directly-to-email-not-to-database#post-115666</link>
			<pubDate>Mon, 07 Jan 2013 00:37:16 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">115666@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;On line 3 of this code &#60;a href=&#34;http://pastie.org/1435911&#34; rel=&#34;nofollow&#34;&#62;http://pastie.org/1435911&#60;/a&#62; the _1 specifies that the filter will apply only to entries from form one.  You can recreate this code multiple times, once for each form on your site.&#60;/p&#62;
&#60;p&#62;If you want to do the opposite, and apply it to all forms EXCEPT your contact form, you want to do something like this instead, for the first three lines (please test this before installing it in a production environment):&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_action(&#38;#39;gform_post_submission&#38;#39;, &#38;#39;remove_form_entry&#38;#39;, 10, 2);
function remove_form_entry($entry, $form){
    // update the 17 here to the ID of the form you
    // do NOT want to delete the entries of
    // i.e. your contact form
    if($form[&#38;#39;id&#38;#39;] == 17) {
        return;
    }
    // if this is not form 17, delete the entry
    // continue with the original code after this line
    global $wpdb;
    // etc...&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>lmabee on "Would Like Entries Go Directly To Email &#124; NOT to Database"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/would-like-entries-go-directly-to-email-not-to-database#post-115361</link>
			<pubDate>Sun, 06 Jan 2013 15:42:53 +0000</pubDate>
			<dc:creator>lmabee</dc:creator>
			<guid isPermaLink="false">115361@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Greetings All,&#60;br /&#62;
This is a question regarding &#60;a href=&#34;http://www.gravityhelp.com/forums/topic/purposefully-not-save-form-in-entries-database#post-15601&#34; rel=&#34;nofollow&#34;&#62;this post&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;I have many forms on my site, and there really is only one form (Contact Form) in which, I do not want the entries to stay in the database. Does the above code delete all forms submissions? How do I get it so that it ONLY deletes the Contact Form entries and not all the other form entries (Which need to stay on the database). &#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Laura
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
