<?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_field_choices filter suggestions</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_field_choices-filter-suggestions</link>
		<description>Gravity Support Forums Topic: gform_field_choices filter suggestions</description>
		<language>en-US</language>
		<pubDate>Sun, 19 Apr 2026 17:23:33 +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_field_choices-filter-suggestions" rel="self" type="application/rss+xml" />

		<item>
			<title>Dave Landon on "gform_field_choices filter suggestions"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_choices-filter-suggestions#post-344464</link>
			<pubDate>Tue, 25 Jun 2013 15:22:29 +0000</pubDate>
			<dc:creator>Dave Landon</dc:creator>
			<guid isPermaLink="false">344464@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hello!&#60;/p&#62;
&#60;p&#62;While developing I hit a currently impassable block.  The filter gform_field_choices currently returns $choices as a string.  This is okay but limits what a developer can do.&#60;/p&#62;
&#60;p&#62;In my project I have a form that creates a post and attaches a category.  Since there is no option to have categories only be EXCLUDED and only INCLUDED, my first thought was to use this filter to remove a few unwanted categories from this.&#60;/p&#62;
&#60;p&#62;Being that there are only a couple categories that I want to exclude and that there will be an ongoing list of categories to include, selecting the Selected Categories on the UI isn't an option.&#60;/p&#62;
&#60;p&#62;Either way, my suggestion is to have $choices submitted as an array instead of a string.  Not only would that solve my own personal problem but would allow other developers to have full control of the output of the checkboxes.&#60;/p&#62;
&#60;p&#62;Thoughts
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
