<?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>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</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/6975.aspx</link><pubDate>Wed, 22 Jun 2005 16:34:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6975</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6975.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6975</wfw:commentRss><description>You can use onAfterChangeMethod on the checkbox, this gets fired once you select the checkbox. You can calculate your count here in this method. &lt;br /&gt;Or as you said you can write it on submit.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Count Checked Checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/6974.aspx</link><pubDate>Wed, 22 Jun 2005 12:22:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6974</guid><dc:creator>sepinsnosaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6974.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6974</wfw:commentRss><description>Ok, Writing code sounds good.  What event would I be looking for to trigger the count?  Maybe I should just do the count when they attempt to save the document.&lt;br /&gt;&lt;br /&gt;Jason</description></item><item><title>Re: Count Checked Checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/6973.aspx</link><pubDate>Wed, 22 Jun 2005 02:23:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6973</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6973.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6973</wfw:commentRss><description>Hi Jason,&lt;br /&gt;Sorry for the delay. "Iterating over the checkboxes" implies writing code. There may be a way to do it using an xpath, but code may actually be simpler (and easier to debug). Unfortunately, we don't have time to write code snippets for everyone these days but if you want to retain us for a small fee, let me know.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Re: Count Checked Checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/6972.aspx</link><pubDate>Thu, 16 Jun 2005 11:15:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6972</guid><dc:creator>sepinsnosaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6972.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6972</wfw:commentRss><description>I have a field in my datasourse for the count.  It is called CriticalItemCount.  There are 34 sets of checkboxes.  I only need to know the count of 10 of them. Only 10 of the radiobutton sets are critical items.   I am still really new at this so when you mention iterating over the checkboxes I am clueless how to do that.  If there is a way to provide you the form just let me know.&lt;br /&gt;&lt;br /&gt;Jason Snipes</description></item><item><title>Re: Count Checked Checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/6971.aspx</link><pubDate>Wed, 15 Jun 2005 19:06:03 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:6971</guid><dc:creator>Patrick Halstead</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/6971.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=6971</wfw:commentRss><description>Hi Jason,&lt;br /&gt;Welcome to our forum! I need a little more information about your scenario. Are you trying to count the number of checkboxes checked? Do you have a field in your data source for the count? You can add an OnAfterChange event handler to the root node (parent of your checkboxes) and add logic in it to update your count. You'll probably want to iterate over your checkboxes and just recount them since it should be pretty fast. Hope that helps, but please provide more info if not.&lt;br /&gt;&lt;br /&gt;Patrick Halstead [InfoPath MVP]&lt;br /&gt;InfoPathDev</description></item><item><title>Count Checked Checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/4715.aspx</link><pubDate>Wed, 15 Jun 2005 15:05:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:4715</guid><dc:creator>sepinsnosaj</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/4715.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=4715</wfw:commentRss><description>I have a form that is used for Health Department Inspections.  The inspections check checkboxes for items missed.  These checkboxes are radio buttons that I converted to checkboxes so that they could select full deductions or 1/2 deductions.  Some of the items are critical items.  Being a newbie to InfoPath, I cannot figure out how to update a field to count the number of critical items missed.&lt;br /&gt;&lt;br /&gt;Thanks in advance,&lt;br /&gt;Jason Snipes</description></item></channel></rss>