<?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: Retrieving selected values of dynamically generated checkboxes</title>
		<link>https://legacy.forums.gravityhelp.com/topic/retrieving-selected-values-of-dynamically-generated-checkboxes</link>
		<description>Gravity Support Forums Topic: Retrieving selected values of dynamically generated checkboxes</description>
		<language>en-US</language>
		<pubDate>Tue, 21 Apr 2026 19:22:06 +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/retrieving-selected-values-of-dynamically-generated-checkboxes" rel="self" type="application/rss+xml" />

		<item>
			<title>dochara on "Retrieving selected values of dynamically generated checkboxes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieving-selected-values-of-dynamically-generated-checkboxes#post-247919</link>
			<pubDate>Sat, 11 May 2013 10:39:14 +0000</pubDate>
			<dc:creator>dochara</dc:creator>
			<guid isPermaLink="false">247919@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have a form embeddend in all posts of a custom post type.  In the form is a checkbox group ($field['22']) that is populated dynamically using gform_pre_submission. Its values are the usernames of any registered user who has commented on the post. This is working perfectly.&#60;/p&#62;
&#60;p&#62;Obviously, depending on the number of people who comment, there could be anything from 1 to dozens of options available. I need to take the selected values ONLY and save them to a custom field. &#60;/p&#62;
&#60;p&#62;I am using a function on gform_post_submission already with this form, and it's working fine for other fields,  but I am not clear how to retrieve an array of selected values from this checkbox group to add to a custom field.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
