<?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: gform_after_submission hook and accessing data submitted through a List field</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-hook-and-accessing-data-submitted-through-a-list-field</link>
		<description>Gravity Support Forums Topic: gform_after_submission hook and accessing data submitted through a List field</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 12:45:14 +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/gform_after_submission-hook-and-accessing-data-submitted-through-a-list-field" rel="self" type="application/rss+xml" />

		<item>
			<title>shaunhd on "gform_after_submission hook and accessing data submitted through a List field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-hook-and-accessing-data-submitted-through-a-list-field#post-136653</link>
			<pubDate>Wed, 30 Jan 2013 16:05:24 +0000</pubDate>
			<dc:creator>shaunhd</dc:creator>
			<guid isPermaLink="false">136653@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Thanks David,&#60;/p&#62;
&#60;p&#62;I should have spotted that myself. All I need do is unserialize() the string to create an array with elements made up of the email addresses submitted through the form's list field. Perfect!&#60;/p&#62;
&#60;p&#62;Thanks for your help,&#60;br /&#62;
Shaun
&#60;/p&#62;</description>
		</item>
		<item>
			<title>David Peralty on "gform_after_submission hook and accessing data submitted through a List field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-hook-and-accessing-data-submitted-through-a-list-field#post-136553</link>
			<pubDate>Wed, 30 Jan 2013 13:42:23 +0000</pubDate>
			<dc:creator>David Peralty</dc:creator>
			<guid isPermaLink="false">136553@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;It is a serialized array, and the values you need should come every third. You can use PHP to deal with the semi-colon delimited way that it is presented and pull out the e-mail addresses you want.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>shaunhd on "gform_after_submission hook and accessing data submitted through a List field"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_after_submission-hook-and-accessing-data-submitted-through-a-list-field#post-136490</link>
			<pubDate>Wed, 30 Jan 2013 12:31:32 +0000</pubDate>
			<dc:creator>shaunhd</dc:creator>
			<guid isPermaLink="false">136490@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I have a form which includes a list field to gather a group of friend's email addresses.&#60;/p&#62;
&#60;p&#62;I'm then hoping to use the gform_after_submission hook to send an email to each address submitted through the field.&#60;/p&#62;
&#60;p&#62;If the list field has an ID of 2 then I can grab the data submitted through the list field in my hook by using:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$friends_emails = $entry[&#38;#39;2&#38;#39;];&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;But this gives me something like the following:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;a:4:{i:0;s:23:&#38;quot;person1@email.com&#38;quot;;i:1;s:23:&#38;quot;person2@email.com&#38;quot;;i:2;s:23:&#38;quot;person3@email.com&#38;quot;;i:3;s:23:&#38;quot;person4@email.com&#38;quot;;}&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;What is the pattern and so what would be the syntax for me to grab the email addresses out of this string? &#60;/p&#62;
&#60;p&#62;Many thanks for your help,&#60;br /&#62;
Shaun
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
