<?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: Prevent form saving &#38; programatically submit form</title>
		<link>https://legacy.forums.gravityhelp.com/topic/prevent-form-saving-programatically-submit-form</link>
		<description>Gravity Support Forums Topic: Prevent form saving &amp; programatically submit form</description>
		<language>en-US</language>
		<pubDate>Wed, 15 Apr 2026 01:18:20 +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/prevent-form-saving-programatically-submit-form" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "Prevent form saving &#38; programatically submit form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-form-saving-programatically-submit-form#post-19778</link>
			<pubDate>Wed, 02 Mar 2011 17:58:13 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">19778@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Currently there is no way to automatically prevent the entry data from saving.  It's automatic.  It is possible to implement a customization to automatically delete the entry immediately after it is created.  But the Notifications themselves use the Entry data (not the form post) to send the email notifications.  So you'd want to do this after the Notifications are sent, otherwise you'd get nothing from a form submit.  Here is information on how to implement this:&#60;/p&#62;
&#60;p&#62;&#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;http://www.gravityhelp.com/forums/topic/purposefully-not-save-form-in-entries-database#post-15601&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm sure you could probably programatically submit a form, but you would have to write custom code to do so.  You would have to know exactly what needs to be posted and then write custom code to do it using code.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>fredsfriend on "Prevent form saving &#38; programatically submit form"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-form-saving-programatically-submit-form#post-19776</link>
			<pubDate>Wed, 02 Mar 2011 17:54:37 +0000</pubDate>
			<dc:creator>fredsfriend</dc:creator>
			<guid isPermaLink="false">19776@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi&#60;br /&#62;
I have two questions regarding functionality that are interrelated:&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;&#60;u&#62;Is there a way to prevent the saving of a form?&#60;/u&#62;&#60;br /&#62;
I have a requirement to optionally not save a form dependent on the value of one of its fields. I know that i can use gform_pre_submission_N to get access to the form data after submission and before it is saved. Is there a way to use this hook to tell Gravity forms not to save the current form? The Hook documentation isn't very detailed, returning false doesn't seem to work.&#60;/li&#62;
&#60;li&#62;&#60;u&#62;Is there a way to programatically submit a form with arbitrary data?&#60;/u&#62;&#60;br /&#62;
If i have captured the data from the previously cancelled form submission in a $_SESSION variable and then dependent on further actions on the site fill out a new form instance and submit it. A PHP solution would be preferable, however a having to use an embedded form with hidden fields and javascript to fill the values would be acceptable.&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;Thanks for any help, let me know if i am being too obscure in my description.&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Barney
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
