<?xml version="1.0"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>MachForm Community Forums Topic: Select All Feature for Checkboxes</title>
<link>https://www.machform.com/forums/</link>
<description>MachForm Community Forums Topic: Select All Feature for Checkboxes</description>
<language>en</language>
<pubDate>Sun, 03 May 2026 23:06:40 +0000</pubDate>

<item>
<title>tania on "Select All Feature for Checkboxes"</title>
<link>https://www.machform.com/forums/topic/select-all-feature-for-checkboxes#post-8462</link>
<pubDate>Fri, 22 Jan 2010 05:55:08 +0000</pubDate>
<dc:creator>tania</dc:creator>
<guid isPermaLink="false">8462@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Can I modify this by having a checkbox such as &#34;select all morning sessions&#34; and it will check certain element checkboxes only (and not all)?
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Select All Feature for Checkboxes"</title>
<link>https://www.machform.com/forums/topic/select-all-feature-for-checkboxes#post-8375</link>
<pubDate>Tue, 12 Jan 2010 14:51:50 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8375@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;You can see form HTML source code to see the option id, but if you're using Firefox maybe you can try to use &#34;Firebug&#34; add-ons from there.
&#60;/p&#62;</description>
</item>
<item>
<title>tania on "Select All Feature for Checkboxes"</title>
<link>https://www.machform.com/forums/topic/select-all-feature-for-checkboxes#post-8369</link>
<pubDate>Tue, 12 Jan 2010 09:11:37 +0000</pubDate>
<dc:creator>tania</dc:creator>
<guid isPermaLink="false">8369@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;This worked great.  However, the option id was hard to identify.  Is there an easy way to know what number it is?  For example, it was not the 4th option (because I had deleted options and added others).
&#60;/p&#62;</description>
</item>
<item>
<title>redityo on "Select All Feature for Checkboxes"</title>
<link>https://www.machform.com/forums/topic/select-all-feature-for-checkboxes#post-8361</link>
<pubDate>Sun, 10 Jan 2010 22:35:44 +0000</pubDate>
<dc:creator>redityo</dc:creator>
<guid isPermaLink="false">8361@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;I think it can be done by adding a javascript to your &#34;includes/view-functions.php&#34; file. To do so, you need add 1 check box option to trigger &#34;select all&#34; function.&#60;br /&#62;
Let say your &#34;check box&#34; id's is 1 and your &#34;select all&#34; option id's is &#34;element_1_4&#34;, then edit &#34;includes/view-functions.php&#34; file and go to around line 1832 for this code :&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;js/view.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;put these code exactly bellow that line &#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;script type=&#38;quot;text/javascript&#38;quot; src=&#38;quot;js/jquery/jquery-core.js&#38;quot;&#38;gt;&#38;lt;/script&#38;gt;
&#38;lt;script type=&#38;quot;text/javascript&#38;quot;&#38;gt;
	var flag = 0 ;
	$(document).ready(function() {
		$(&#38;#39;#form_6 #element_1_4&#38;#39;).click(function() {
			if (flag == 0) {
				$(&#38;#39;#li_1 :checkbox&#38;#39;).attr(&#38;#39;checked&#38;#39;,true);
				flag = 1;
			} else {
				$(&#38;#39;#li_1 :checkbox&#38;#39;).attr(&#38;#39;checked&#38;#39;,false);
				flag = 0;
			}
		});
	});
&#38;lt;/script&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;After that you need to adjust those id's to get the script working properly in your form.
&#60;/p&#62;</description>
</item>
<item>
<title>tania on "Select All Feature for Checkboxes"</title>
<link>https://www.machform.com/forums/topic/select-all-feature-for-checkboxes#post-8349</link>
<pubDate>Sat, 09 Jan 2010 05:16:14 +0000</pubDate>
<dc:creator>tania</dc:creator>
<guid isPermaLink="false">8349@https://www.machform.com/forums/</guid>
<description>&#60;p&#62;Is there a way to have an option in the Checkbox list to &#34;select all&#34; - and all options are checked automatically?&#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
</item>

</channel>
</rss>
