<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Count checked checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/121333.aspx</link><pubDate>Wed, 24 Jul 2019 17:34:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:121333</guid><dc:creator>User1324</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/121333.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=121333</wfw:commentRss><description>This helped me thank you!</description></item><item><title>Re: Count checked checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/46305.aspx</link><pubDate>Wed, 26 Aug 2009 23:41:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46305</guid><dc:creator>craig_os</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46305.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46305</wfw:commentRss><description>&lt;p&gt;Hi Jo-Anne,&lt;/p&gt;
&lt;p&gt;This is perfect, thank you very much.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Craig.&lt;/p&gt;</description></item><item><title>Re: Count checked checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/46237.aspx</link><pubDate>Wed, 26 Aug 2009 06:43:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46237</guid><dc:creator>Jo-Anne Alfafara</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46237</wfw:commentRss><description>&lt;p&gt;Hello and welcome to our forums!&lt;/p&gt;
&lt;p&gt;You can do this by using the count() function in your field &amp;quot;Count&amp;quot;. &lt;/p&gt;
&lt;p&gt;1. Double click on the Count field (I suppose this is a text box).&lt;/p&gt;
&lt;p&gt;2. Click on the &lt;strong&gt;Default Value&lt;/strong&gt; (&lt;em&gt;fx&lt;/em&gt;) button in the Data tab.&lt;/p&gt;
&lt;p&gt;3. Click &lt;strong&gt;Insert Function&lt;/strong&gt;, and select count function from the list.&lt;/p&gt;
&lt;p&gt;4. Click the link to insert a field. Select your first check box, say Company 1.&lt;/p&gt;
&lt;p&gt;5. Click &lt;strong&gt;Filter Data. &lt;/strong&gt;Add a filter to set Company 1 equal to TRUE (to count only&amp;nbsp;if&amp;nbsp;the check box is&amp;nbsp;selected), then click &lt;strong&gt;OK&lt;/strong&gt; 3 times.&lt;/p&gt;
&lt;p&gt;6. Next to the first Count() formula, enter a plus + then repeat steps 3-5 to&amp;nbsp;the rest of the&amp;nbsp;check boxes. Your formula should look something like this:&lt;/p&gt;
&lt;p&gt;count(field1[. = string(true())]) + count(field2[. = string(true())]) + count(field3[. = string(true())]) + count(field4[. = string(true())])&lt;/p&gt;
&lt;p&gt;7. Click &lt;strong&gt;OK&lt;/strong&gt; when done. Then make sure to check the check box &amp;quot;Update this value when the result of the formula is recalculated&amp;quot; just below the Default Value field in Data tab.&lt;/p&gt;
&lt;p&gt;8. Click &lt;strong&gt;OK&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;Try selecting/deselecting from the check boxes and see if the count works!&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;</description></item><item><title>Count checked checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/46235.aspx</link><pubDate>Wed, 26 Aug 2009 04:45:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:46235</guid><dc:creator>craig_os</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/46235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=46235</wfw:commentRss><description>Hi,
I found a thread on this earlier, but I think the question was actually to count the non-checked checkboxes. All I want to do is have a number displayed on checked checkboxes.

For example: 

Company 1 [x]
Company 2 [x]
Company 3 [x]
Company 4 [x]


Count: 4 

How can I do this?</description></item></channel></rss>