<?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_value populate checkboxes</title>
		<link>https://legacy.forums.gravityhelp.com/topic/gform_field_value-populate-checkboxes</link>
		<description>Gravity Support Forums Topic: gform_field_value populate checkboxes</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 16:52:59 +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_value-populate-checkboxes" rel="self" type="application/rss+xml" />

		<item>
			<title>Chris Hajer on "gform_field_value populate checkboxes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_value-populate-checkboxes#post-80895</link>
			<pubDate>Sun, 14 Oct 2012 18:31:51 +0000</pubDate>
			<dc:creator>Chris Hajer</dc:creator>
			<guid isPermaLink="false">80895@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Where are $pay_paypal and $pay_web defined?&#60;/p&#62;
&#60;p&#62;In the documentation for an array,  &#60;a href=&#34;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name&#34; rel=&#34;nofollow&#34;&#62;http://www.gravityhelp.com/documentation/page/Gform_field_value_$parameter_name&#60;/a&#62; it looks like this would work, instead of what you have:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;[php]
add_filter(&#38;quot;gform_field_value_payment_options&#38;quot;, &#38;quot;populate_payment_options&#38;quot;);
function populate_payment_options($value){
	return array($pay_paypal, $pay_web);
}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;However, I am still unsure where you are setting $pay_paypal and $pay_web.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ryanandersen29 on "gform_field_value populate checkboxes"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/gform_field_value-populate-checkboxes#post-80358</link>
			<pubDate>Thu, 11 Oct 2012 14:47:16 +0000</pubDate>
			<dc:creator>ryanandersen29</dc:creator>
			<guid isPermaLink="false">80358@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I am trying to use the gform_field_value filter to populate some checkboxes.  I have successfully populated single fields, but it doesn't seem to like an array. I get a foreach error. This is what I've tried.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;add_filter(&#38;quot;gform_field_value_payment_options&#38;quot;, &#38;quot;populate_payment_options&#38;quot;);
function populate_payment_options($value){
	 	$populate_payment[] = $pay_paypal;
		$populate_payment[] = $pay_web;
			return $populate_payment;
	}&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Any ideas?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
