<?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: A Basic Example of gform_post_submission would be awesome</title>
		<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome</link>
		<description>Gravity Support Forums Topic: A Basic Example of gform_post_submission would be awesome</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 22:10:38 +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/a-basic-example-of-gform_post_submission-would-be-awesome" rel="self" type="application/rss+xml" />

		<item>
			<title>Carl Hancock on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-50112</link>
			<pubDate>Tue, 21 Feb 2012 12:40:01 +0000</pubDate>
			<dc:creator>Carl Hancock</dc:creator>
			<guid isPermaLink="false">50112@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@Gaslight gform_post_submission has been deprecated and should not be used anymore.  I have answered your question regarding gform_after_submission in that thread.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Gaslight on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-50087</link>
			<pubDate>Tue, 21 Feb 2012 08:40:00 +0000</pubDate>
			<dc:creator>Gaslight</dc:creator>
			<guid isPermaLink="false">50087@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I had a similar question for  gform_after_submission, still unanswered at the moment&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/hide-certain-fields-or-data-after-being-submitted-using-gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/hide-certain-fields-or-data-after-being-submitted-using-gform_after_submission&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;but I'm also interested in gform_post_submission
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hupchurch on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-50035</link>
			<pubDate>Mon, 20 Feb 2012 18:52:15 +0000</pubDate>
			<dc:creator>hupchurch</dc:creator>
			<guid isPermaLink="false">50035@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Did you do something different or just not do anything at all? I am open to any suggestions.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imagebox on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-50033</link>
			<pubDate>Mon, 20 Feb 2012 18:25:56 +0000</pubDate>
			<dc:creator>imagebox</dc:creator>
			<guid isPermaLink="false">50033@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I never did figure out how to do this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>hupchurch on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-50029</link>
			<pubDate>Mon, 20 Feb 2012 17:37:21 +0000</pubDate>
			<dc:creator>hupchurch</dc:creator>
			<guid isPermaLink="false">50029@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I would very much like to be able to do this as well. I see the code but I don't really know how to implement this.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>imagebox on "A Basic Example of gform_post_submission would be awesome"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/a-basic-example-of-gform_post_submission-would-be-awesome#post-33384</link>
			<pubDate>Tue, 23 Aug 2011 23:16:54 +0000</pubDate>
			<dc:creator>imagebox</dc:creator>
			<guid isPermaLink="false">33384@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;After looking around the forum for an answer it seems there a several people who are interested in capturing the field data from a gravity form and storing it in a separate database.  It would be awesome if the gravity forms core team could provide the most basic of examples of how to accomplish this.&#60;/p&#62;
&#60;p&#62;I am using the Gravity Forms User Registration addon to register visitors to my blog (this form captures first/last name, username, password and email).  I am simply trying to capture the $_POST values of their entry and store them in a second database for other uses outside of wordpress.&#60;/p&#62;
&#60;p&#62;I know that I need to place the following in my functions.php file:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;#39;gform_post_submission&#38;#39;, &#38;#39;do_something&#38;#39;);
function do_something($entry){
//Do something code
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I know I need to capture the data AFTER it has been scrubbed through the forms validation function.  I have looked at &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Entry_Object&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Entry_Object&#60;/a&#62; From what I understand the $entry[&#34;1&#34;]; returns the second item within the $entry[]; associative array.  I am assuming that $entry[ ] is akin to $_POST[ ]&#60;/p&#62;
&#60;p&#62;I just think a simple example of how to pull this information using the GravityForms API would be so very helpful to so many developers.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
