<?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 MailChimp Add-on from overwriting subscribed users&#039; data with blanks</title>
		<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks</link>
		<description>Gravity Support Forums Topic: Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 10:08:16 +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-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks" rel="self" type="application/rss+xml" />

		<item>
			<title>Dana Cobb on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-202915</link>
			<pubDate>Tue, 09 Apr 2013 18:11:48 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">202915@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, Phil,&#60;/p&#62;
&#60;p&#62;I have added this issue to our feature/bug tracking tool. I need to discuss this further with the team to see if a filter is adequate or if we need to rethink some logic.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-200116</link>
			<pubDate>Sun, 07 Apr 2013 14:18:43 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">200116@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'll bring this to the attention of the development team.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Phil on "Prevent MailChimp Add-on from overwriting subscribed users&#039; data with blanks"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/prevent-mailchimp-add-on-from-overwriting-subscribed-users-data-with-blanks#post-198761</link>
			<pubDate>Sat, 06 Apr 2013 10:48:37 +0000</pubDate>
			<dc:creator>Phil</dc:creator>
			<guid isPermaLink="false">198761@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;&#60;u&#62;Feature Request for MailChimp Add-on&#60;/u&#62;&#60;br /&#62;
Allow devs to prevent blank fields from overwriting existing data for list members who are already subscribed. &#60;/p&#62;
&#60;p&#62;&#60;u&#62;Example Scenario to Prevent&#60;/u&#62;&#60;/p&#62;
&#60;ol&#62;
&#60;li&#62;User subscribes to mailing list, adding name to MC list.&#60;/li&#62;
&#60;li&#62;User forgets and subscribes again (via GF MC add-on), but leaves name field blank.&#60;/li&#62;
&#60;li&#62;MC add-on updates/overwrites list member's name with blank values.&#60;/li&#62;
&#60;/ol&#62;
&#60;p&#62;&#60;u&#62;Potential Code Adjustment&#60;/u&#62;&#60;br /&#62;
A new filter, perhaps 'gform_mailchimp_allow_blank_overwrite', could give GF users control over whether fields left blank will overwrite existing data for subscribed users.&#60;/p&#62;
&#60;p&#62;For example, consider replacing these two lines of GFMailChimp::export_feed() ...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;self::log_debug(&#38;quot;Calling - listUpdateMember ...
$retval = $api-&#38;gt;listUpdateMember($feed ...&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;... with these lines ...&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$allow_blank_overwrite = apply_filters( &#38;#39;gform_mailchimp_allow_blank_overwrite&#38;#39;, ... // defaults to false (some may argue for true)
// maybe remove blank fields from $merge_vars
if ( ! $allow_blank_overwrite )
  $merge_vars = array_filter($merge_vars);            

if ( ! empty($merge_vars) ) {
  self::log_debug(&#38;quot;Calling - listUpdateMember ...
  $retval = $api-&#38;gt;listUpdateMember($feed ...
}
else
  self::log_debug(&#38;quot;listUpdateMember not called because $merge_vars was empty ...&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;In limited tests, this worked for me, without breaking anything that I noticed. Time will tell.&#60;/p&#62;
&#60;p&#62;Thanks for the great work.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
