<?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: Checkboxes to Arrays</title>
		<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays</link>
		<description>Gravity Support Forums Topic: Checkboxes to Arrays</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 06:33:12 +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/checkboxes-to-arrays" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-98418</link>
			<pubDate>Mon, 03 Dec 2012 15:41:21 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">98418@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I did not know ACF had an &#34;update_field&#34; function like that.  If you are using the ACF plugin, that's a good way to do it.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.advancedcustomfields.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.advancedcustomfields.com/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>komododigital on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-98367</link>
			<pubDate>Mon, 03 Dec 2012 12:41:55 +0000</pubDate>
			<dc:creator>komododigital</dc:creator>
			<guid isPermaLink="false">98367@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;You can use a GF hook and an ACF function to achieve this.  Not glamorous, but works...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_action(&#38;quot;gform_post_submission_4&#38;quot;, &#38;quot;acf_post_submission&#38;quot;, 10, 2);

function acf_post_submission ($entry, $form)
{
$post_id = $entry[&#38;quot;post_id&#38;quot;];
$values = get_post_custom_values(&#38;quot;[GF custom field name]&#38;quot;, $post_id);
update_field(&#38;quot;[ACF field key]&#38;quot;, $values, $post_id);

}&#60;/code&#62;&#60;/pre&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-76805</link>
			<pubDate>Sat, 22 Sep 2012 00:16:53 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">76805@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;We can't give advice on modifying the plugin files. You would have to look through the code yourself and see what is possible.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>KindraPB on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-76720</link>
			<pubDate>Fri, 21 Sep 2012 13:45:47 +0000</pubDate>
			<dc:creator>KindraPB</dc:creator>
			<guid isPermaLink="false">76720@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;anybody have any ideas to somehow go in and edit the php so that gravity forms saves checkbox values in an array instead of as separate rows in the database?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>KindraPB on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-76319</link>
			<pubDate>Wed, 19 Sep 2012 12:37:52 +0000</pubDate>
			<dc:creator>KindraPB</dc:creator>
			<guid isPermaLink="false">76319@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That might work. What I am trying to do is use the gform_save_field_value function to grab the selected values of a checkbox before anything is written to the database. Then I can add them to an array and post the array as the field value instead of individual rows for the same field with its individual values. I am a bit of a beginner and not sure how to grab the fields multiple selected values and add them to an array.  &#60;/p&#62;
&#60;p&#62;Any more help would be appreciated!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Dana Cobb on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-76315</link>
			<pubDate>Wed, 19 Sep 2012 12:02:35 +0000</pubDate>
			<dc:creator>Dana Cobb</dc:creator>
			<guid isPermaLink="false">76315@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This is not built-in to Gravity Forms, it would require custom coding.&#60;/p&#62;
&#60;p&#62;You could add a hidden field on the form and use code in the gform_after_submission (&#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_after_submission&#60;/a&#62;) hook to update the hidden field with whatever you need.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>KindraPB on "Checkboxes to Arrays"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-to-arrays#post-76086</link>
			<pubDate>Tue, 18 Sep 2012 13:11:24 +0000</pubDate>
			<dc:creator>KindraPB</dc:creator>
			<guid isPermaLink="false">76086@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Is there a way to save selected checkbox values to an array in the database row such as:&#60;/p&#62;
&#60;p&#62;a:2:{i:0;s:9:&#34;Breakfast&#34;;i:1;s:19:&#34;Handicap Access&#34;}&#60;/p&#62;
&#60;p&#62;instead of saving an individual row and meta_id for each value?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
