<?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 not working with Conditional Logic</title>
		<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-not-working-with-conditional-logic</link>
		<description>Gravity Support Forums Topic: Checkboxes not working with Conditional Logic</description>
		<language>en-US</language>
		<pubDate>Mon, 20 Apr 2026 01:07:48 +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-not-working-with-conditional-logic" rel="self" type="application/rss+xml" />

		<item>
			<title>digitalshift on "Checkboxes not working with Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-not-working-with-conditional-logic#post-63495</link>
			<pubDate>Mon, 25 Jun 2012 03:26:36 +0000</pubDate>
			<dc:creator>digitalshift</dc:creator>
			<guid isPermaLink="false">63495@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I ran into this same problem as well. I found the problem and corrected it.&#60;/p&#62;
&#60;p&#62;The problem is with IsConditionalLogicField() function in form_editor.js (line 1725):&#60;/p&#62;
&#60;p&#62;    return jQuery.inArray(inputType, supported_fields);&#60;/p&#62;
&#60;p&#62;This is the incorrect use of the jQuery.inArray() function. The function returns a -1 if the item is not found in the array, or the index of the array item if it is found. Since &#34;checkbox&#34; is the first item in the list, the IsConditionalLogicField() function will always return 0 for checkbox fields, translating to false.&#60;/p&#62;
&#60;p&#62;The correct code should be:&#60;/p&#62;
&#60;p&#62;    return jQuery.inArray(inputType, supported_fields) != -1;&#60;/p&#62;
&#60;p&#62;Hope this helps!&#60;/p&#62;
&#60;p&#62;- Sean
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Rob Harrell on "Checkboxes not working with Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-not-working-with-conditional-logic#post-51235</link>
			<pubDate>Sun, 04 Mar 2012 09:51:24 +0000</pubDate>
			<dc:creator>Rob Harrell</dc:creator>
			<guid isPermaLink="false">51235@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Could you export your form and send the XML file to me at &#60;a href=&#34;mailto:rob@rocketgenius.com&#34;&#62;rob@rocketgenius.com&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>jlcolema on "Checkboxes not working with Conditional Logic"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/checkboxes-not-working-with-conditional-logic#post-51229</link>
			<pubDate>Sat, 03 Mar 2012 21:50:07 +0000</pubDate>
			<dc:creator>jlcolema</dc:creator>
			<guid isPermaLink="false">51229@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;I'm currently using version 1.6.3 and having trouble figuring out how to get conditional logic to work with checkboxes.&#60;/p&#62;
&#60;p&#62;My example:&#60;/p&#62;
&#60;p&#62;A user fills out an address form. At the bottom of the form is a checkbox for &#34;Same as Billing Address.&#34; If checked, the section below (for Shipping Address) should not display.&#60;/p&#62;
&#60;p&#62;While editing the form, I choose the Shipping Address section break, and enable Conditional Logic. Options for drop downs, input and radio buttons appear, but nothing for checkboxes. I did a few tests, and it seems that for any situation involving conditional logic, checkboxes do not appear as an option within the list.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
