<?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: Potential Bug with gform_disable_post_creation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation</link>
		<description>Gravity Support Forums Topic: Potential Bug with gform_disable_post_creation</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:34:24 +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/potential-bug-with-gform_disable_post_creation" rel="self" type="application/rss+xml" />

		<item>
			<title>David Smith on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-39881</link>
			<pubDate>Thu, 03 Nov 2011 12:10:29 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">39881@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Tracy,&#60;/p&#62;
&#60;p&#62;Try adding the &#34;gform_disable_post_creation&#34; filter in the &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_pre_submission&#34; rel=&#34;nofollow&#34;&#62;gform_pre_submission&#60;/a&#62; hook instead. You will need to run your check again to verify whether the post creation should actually be disabled.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tracysurf on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-39862</link>
			<pubDate>Thu, 03 Nov 2011 10:30:35 +0000</pubDate>
			<dc:creator>tracysurf</dc:creator>
			<guid isPermaLink="false">39862@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Same issue here! Didn't do as much debugging as tobaccordshow but posts get created.&#60;br /&#62;
I'm using GF 1.6, just updated to the latest version today.&#60;/p&#62;
&#60;p&#62;I am using a GF form for creating and updating &#34;Listings&#34; (a custom post type).&#60;br /&#62;
If a user already has a listing the GF gets prefilled with the values from the database and GF should not create a new listing but update the existing one. &#60;/p&#62;
&#60;p&#62;Prefill works, listing creation also works, but I can't get gform_disable_post_creation to work.&#60;/p&#62;
&#60;p&#62;Code summary: In the page that contains the form and before the form displays, I check for exisiting listings. If we have one we get the prefill and I am using:&#60;br /&#62;
  `add_filter(&#34;gform_disable_post_creation_1&#34;, &#34;disable_post_creation&#34;, 10, 3);&#60;br /&#62;
  function disable_post_creation($is_disabled, $form, $entry){&#60;br /&#62;
  return true;&#60;br /&#62;
}`&#60;/p&#62;
&#60;p&#62;Is this the right location? Or is anything wrong with the code?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tobaccordshow on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-38232</link>
			<pubDate>Tue, 18 Oct 2011 17:04:03 +0000</pubDate>
			<dc:creator>tobaccordshow</dc:creator>
			<guid isPermaLink="false">38232@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;To further my bug testing, I commented out line 685 of form_display.php to ensure that the post could not be created regardless of the gform_disable_post_creation result. The entry was still created. &#60;/p&#62;
&#60;p&#62;Unless this filter is not used to disable entries (which I can't imagine what post it would be disabling if not for the entries), I cannot seem to get this to work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tobaccordshow on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-38231</link>
			<pubDate>Tue, 18 Oct 2011 16:47:02 +0000</pubDate>
			<dc:creator>tobaccordshow</dc:creator>
			<guid isPermaLink="false">38231@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi David, &#60;/p&#62;
&#60;p&#62;I responded with credentials. It looks like I do have the action firing evidenced by an echo string placed before the return true call. However, the post is still being created.&#60;/p&#62;
&#60;p&#62;Baffled here.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Smith on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-37587</link>
			<pubDate>Tue, 11 Oct 2011 15:30:03 +0000</pubDate>
			<dc:creator>David Smith</dc:creator>
			<guid isPermaLink="false">37587@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi there, I couldn't recreate this issue on my end. The filter was triggered and able to prevent post creation in all my tests. Would you mind sending me a WP and FTP login so I can take a look at your setup and see what the conflict might be? Send to &#60;a href=&#34;mailto:david@rocketgenius.com&#34;&#62;david@rocketgenius.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tobaccordshow on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-37569</link>
			<pubDate>Tue, 11 Oct 2011 13:20:55 +0000</pubDate>
			<dc:creator>tobaccordshow</dc:creator>
			<guid isPermaLink="false">37569@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;1.5.3
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-37554</link>
			<pubDate>Tue, 11 Oct 2011 11:54:26 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">37554@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Which version of Gravity Forms are you using?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tobaccordshow on "Potential Bug with gform_disable_post_creation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/potential-bug-with-gform_disable_post_creation#post-37541</link>
			<pubDate>Tue, 11 Oct 2011 10:28:46 +0000</pubDate>
			<dc:creator>tobaccordshow</dc:creator>
			<guid isPermaLink="false">37541@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm using the gform_disable_post_creation action as the documentation specifies, but the post is being created anyway. My code:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_disable_post_creation&#38;quot;, &#38;quot;disable_post_creation&#38;quot;, 10, 3);
function disable_post_creation($is_disabled, $form, $entry){
    return true;
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Not sure why it's being ignored, but it doesn't even seem that the callback is being fired. Placing an echo call in there never appears. &#60;/p&#62;
&#60;p&#62;The form I'm using is not using the AJAX method and does use an image upload, in case that affects the solution.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
