<?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: Use gform_after_submission to update an entry</title>
		<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry</link>
		<description>Gravity Support Forums Topic: Use gform_after_submission to update an entry</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 11:10:40 +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/use-gform_after_submission-to-update-an-entry" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-168439</link>
			<pubDate>Tue, 12 Mar 2013 01:22:55 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">168439@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I see.  In the code you run which is hooked to gform_after_update_entry, you can get the full entry details like this, using the entry (lead) ID:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
$lead = RGFormsModel::get_lead($lead_id);
// debug
// print_r($lead);&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Des Moines University on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-163329</link>
			<pubDate>Thu, 07 Mar 2013 12:16:07 +0000</pubDate>
			<dc:creator>Des Moines University</dc:creator>
			<guid isPermaLink="false">163329@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I used gform_after_submission to send the entry information to another system of ours. If I update that entry in WordPress I want it to update that entry information in this other system, however gform_after_update_entry doesn't supply the entry information, just the ID.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-161192</link>
			<pubDate>Tue, 05 Mar 2013 14:15:39 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">161192@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;@DMU, please let us know what you are trying to do and we will try to help.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Des Moines University on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-160094</link>
			<pubDate>Mon, 04 Mar 2013 13:05:11 +0000</pubDate>
			<dc:creator>Des Moines University</dc:creator>
			<guid isPermaLink="false">160094@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am looking to do something similar but gform_after_update_entry returns an entry_id rather than the entire entry like gform_after_submission does. Is there something to retrieve the full entry from the entry_id? I've looked through the documentation but don't see anything like that.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-146587</link>
			<pubDate>Wed, 13 Feb 2013 11:42:57 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">146587@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;gform_after_submission will work only after a Gravity Form is submitted.  If you edit the entry in the Gravity Forms admin, you can use the gform_after_update_entry to update your external database.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_update_entry&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_update_entry&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I'm not familiar with that Admin &#38;amp; Single plugin to know how it works, but if it does not submit a Gravity Form, gform_after_submission will not work.  You will need to find a hook in that plugin to run your code when an entry is edited like that from the front end.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>MFJUNIOR on "Use gform_after_submission to update an entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/use-gform_after_submission-to-update-an-entry#post-146258</link>
			<pubDate>Tue, 12 Feb 2013 12:22:11 +0000</pubDate>
			<dc:creator>MFJUNIOR</dc:creator>
			<guid isPermaLink="false">146258@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm using gform_after_submission to populate a table in database after a person submit a form:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_after_submission_5&#38;quot;, &#38;quot;input_fields&#38;quot;, 10, 2);
function input_fields($entry, $form){
    global $wpdb;
		$id = $entry[&#38;#39;id&#38;#39;];
		$date = $entry[&#38;#39;date_created&#38;#39;];
		$title = $entry[&#38;#39;1&#38;#39;];
		$firstname = $entry[&#38;#39;2.3&#38;#39;];
		$lasname = $entry[&#38;#39;2.6&#38;#39;];
$SQL = &#38;quot;INSERT INTO abstracts ( abstract_id, date, firstname, lasname ) VALUES ( &#38;#39;$id&#38;#39;, &#38;#39;$date&#38;#39;, &#38;#39;$firstname&#38;#39;,  &#38;#39;$lasname&#38;#39; )&#38;quot;;
 $wpdb-&#38;gt;query($SQL);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I also using a plugin Admin&#38;amp;Single Gravity Forms Add-On that simulate a post and let the users to edit their entry with a given link (/.../form/?rid=1).&#60;/p&#62;
&#60;p&#62;When someone submit the modified form, the entries are updated in the gravity forms database, but the gform_after_submission doesn't update the other database.&#60;/p&#62;
&#60;p&#62;I think will be the same if I edit the entry by the admin side.&#60;/p&#62;
&#60;p&#62;How is possible to update the entry also in the second database?&#60;/p&#62;
&#60;p&#62;Than you, Marco
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
