<?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 all values from checkbox in gform_validation</title>
		<link>https://legacy.forums.gravityhelp.com/topic/retrieving-all-values-from-checkbox-in-gform_validation</link>
		<description>Gravity Support Forums Topic: Retrieving all values from checkbox in gform_validation</description>
		<language>en-US</language>
		<pubDate>Sat, 04 Apr 2026 16:19:13 +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-all-values-from-checkbox-in-gform_validation" rel="self" type="application/rss+xml" />

		<item>
			<title>twymand on "Retrieving all values from checkbox in gform_validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieving-all-values-from-checkbox-in-gform_validation#post-49559</link>
			<pubDate>Wed, 15 Feb 2012 22:41:39 +0000</pubDate>
			<dc:creator>twymand</dc:creator>
			<guid isPermaLink="false">49559@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;This seems like exactly what I am trying to accomplish . Is there any way of anybody adding a little more detail to the above solution. What I am trying to accomplish is I have a form which post to a custom post type &#34;listings&#34;. Using checkboxes populated by taxonomies I want to be able to populate all boxes checked .&#60;/p&#62;
&#60;p&#62;So for instance. In the listings post type I have a taxonomy called Business Types. i.e. Band, DJ, Hotel and so on. If someone chooses Band and Dj and then submits I would think that in the backend you would see both options selected. This doesn't seem to be working for me. After hours of trying to accomplish this I am at wits end.&#60;/p&#62;
&#60;p&#62;Thanks for any help ahead of time
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Chris Hajer on "Retrieving all values from checkbox in gform_validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieving-all-values-from-checkbox-in-gform_validation#post-46948</link>
			<pubDate>Fri, 20 Jan 2012 02:40:31 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">46948@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;That's not a bad way of doing it.  Would you like to share your code here to help anyone else who is trying to do the same thing?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wollemi on "Retrieving all values from checkbox in gform_validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieving-all-values-from-checkbox-in-gform_validation#post-46823</link>
			<pubDate>Thu, 19 Jan 2012 03:12:32 +0000</pubDate>
			<dc:creator>wollemi</dc:creator>
			<guid isPermaLink="false">46823@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I found my solution. Might not be the most elegant and would love to hear any opinions. I basically checked each checkbox to see if it was set via $_POST['assigned-id'] in a loop.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>wollemi on "Retrieving all values from checkbox in gform_validation"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/retrieving-all-values-from-checkbox-in-gform_validation#post-46816</link>
			<pubDate>Thu, 19 Jan 2012 00:29:54 +0000</pubDate>
			<dc:creator>wollemi</dc:creator>
			<guid isPermaLink="false">46816@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I have multiple checkboxes attached to one field. How do I retrieve all values for it? I know I retrieve the value for it like this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;$field_value = rgpost(&#38;quot;input_{$field[&#38;#39;id&#38;#39;]}&#38;quot;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;I want to ensure that only 5 out of X checkboxes have been selected to pass the validation. Where do I go from there? Thanks.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
