<?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: Trigger Script On Checkbox Select</title>
		<link>https://legacy.forums.gravityhelp.com/topic/trigger-script-on-checkbox-select</link>
		<description>Gravity Support Forums Topic: Trigger Script On Checkbox Select</description>
		<language>en-US</language>
		<pubDate>Sun, 05 Apr 2026 02:52: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/trigger-script-on-checkbox-select" rel="self" type="application/rss+xml" />

		<item>
			<title>Pierre-GF on "Trigger Script On Checkbox Select"</title>
			<link>https://legacy.forums.gravityhelp.com/topic/trigger-script-on-checkbox-select#post-46177</link>
			<pubDate>Wed, 11 Jan 2012 19:04:16 +0000</pubDate>
			<dc:creator>Pierre-GF</dc:creator>
			<guid isPermaLink="false">46177@https://legacy.forums.gravityhelp.com/</guid>
			<description>&#60;p&#62;Hi, All. I'm new to Gravity Forms and love it. Have an issue I've been researching for a couple hours with no luck, so any help would be appreciated.&#60;/p&#62;
&#60;p&#62;I'm trying to trigger a count of checkboxes selected on the first page of a multipage form. Here's my code:`&#60;/p&#62;
&#60;p&#62;    &#38;lt;div id=&#34;counter&#34;&#38;gt;&#38;lt;/div&#38;gt;&#60;br /&#62;
    &#38;lt;script&#38;gt;&#60;br /&#62;
    function countChecked() {&#60;br /&#62;
      var n = $(&#34;input:checked&#34;).length;&#60;br /&#62;
      $(&#34;div#counter&#34;).text(n + (n &#38;lt;= 1 ? &#34; is&#34; : &#34; are&#34;) + &#34; checked!&#34;);&#60;br /&#62;
    }&#60;br /&#62;
    countChecked();&#60;br /&#62;
    $(&#34;:checkbox&#34;).click(countChecked);&#60;br /&#62;
    &#38;lt;/script&#38;gt;`&#60;/p&#62;
&#60;p&#62;It works when I throw up a sample form with checkboxes above the gravity form, but when I remove the sample form so that only inputs from GF should trigger it, nothing happens.&#60;/p&#62;
&#60;p&#62;Any help would be appreciated.&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Pierre
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
