<?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: Update CM when editing an existing entry</title>
		<link>https://legacy.forums.gravityhelp.com/topic/update-cm-when-editing-an-existing-entry</link>
		<description>Gravity Support Forums Topic: Update CM when editing an existing entry</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:35:35 +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/update-cm-when-editing-an-existing-entry" rel="self" type="application/rss+xml" />

		<item>
			<title>squidgemann on "Update CM when editing an existing entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/update-cm-when-editing-an-existing-entry#post-50207</link>
			<pubDate>Wed, 22 Feb 2012 11:49:50 +0000</pubDate>
			<dc:creator>squidgemann</dc:creator>
			<guid isPermaLink="false">50207@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Dana, thanks for your update that's really helpful. I know my way around the CM API so that part is easy, finding the right GF hook was the difficult part for me. Really appreciate the response.&#60;/p&#62;
&#60;p&#62;All the best&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Update CM when editing an existing entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/update-cm-when-editing-an-existing-entry#post-48746</link>
			<pubDate>Wed, 08 Feb 2012 16:41:50 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">48746@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, squidgemann,&#60;/p&#62;
&#60;p&#62;Updating an entry does not send the changes to Campaign Monitor. To send an update, you would need to implement custom code. You could send an update in the &#34;gform_save_field_value&#34; hook (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_save_field_value)&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_save_field_value)&#60;/a&#62;. This hook fires when changes are made to an entry. You would need to look at how to communicate with Campaign Monitor's API. You can take a look at the code used in the add-on to get an idea of how it is done. There is documentation on Campaign Monitor's site (&#60;a href=&#34;http://www.campaignmonitor.com/api/&#34; rel=&#34;nofollow&#34;&#62;http://www.campaignmonitor.com/api/&#60;/a&#62;) that will help.&#60;/p&#62;
&#60;p&#62;Below is an example on using the hook:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_save_field_value&#38;quot;, &#38;quot;save_field_value&#38;quot;, 10, 4);
function save_field_value($value, $lead, $field, $form){
	//do this only when in the admin, and specific campaign monitor form (form id)
	if (is_admin() &#38;amp;&#38;amp; $form[&#38;quot;id&#38;quot;] == 14)
	{
		//this will fire for each changed value when saving the entry
		//so target a single field (use the id of your field) that you care has changed - the winner field
		if ($field[&#38;quot;id&#38;quot;] == 2)
		{
			//put custom code here to send update to campaign monitor
		}	

	}
	//return $value so the field changes are saved
    return $value;
}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>squidgemann on "Update CM when editing an existing entry"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/update-cm-when-editing-an-existing-entry#post-47301</link>
			<pubDate>Wed, 25 Jan 2012 07:41:28 +0000</pubDate>
			<dc:creator>squidgemann</dc:creator>
			<guid isPermaLink="false">47301@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi Guys,&#60;/p&#62;
&#60;p&#62;I've seen this post (&#60;a href=&#34;http://www.gravityhelp.com/forums/topic/will-a-campaign-monitor-feed-update-existing-entries-with-new-data&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/forums/topic/will-a-campaign-monitor-feed-update-existing-entries-with-new-data&#60;/a&#62;) but I'm not sure it answers my question so I just wanted to confirm.&#60;/p&#62;
&#60;p&#62;I have a form which integrates with CM, it's a simple competition. When a winner is selected, the admin's update the form data in Wordpress by visiting &#34;GF &#38;gt; Entries&#34;, select &#34;winner&#34;, then hit Update. So my question is; for a form that is integrated with CM on submission, would the update be passed to CM as well? &#60;/p&#62;
&#60;p&#62;That doesn't seem to happen for me and I'd really like to make it work. If it's not a native function of GF, can you advise how I can hook into the form update action to do this?&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Andy
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
