<?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>Controls</title><link>https://www.infopathdev.com:443/forums/43.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: ISO ideas for dealing with a large number of checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/43215.aspx</link><pubDate>Fri, 19 Jun 2009 17:07:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43215</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43215.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=43215</wfw:commentRss><description>&lt;p&gt;Instead of the checkbox, just show the field on your canvas while testing so that you can see what is actually being populated.&amp;nbsp; Then, go from there...&lt;/p&gt;</description></item><item><title>Re: ISO ideas for dealing with a large number of checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/43207.aspx</link><pubDate>Fri, 19 Jun 2009 16:24:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43207</guid><dc:creator>Larry W. Virden</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43207.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=43207</wfw:commentRss><description>&lt;p&gt;Re: can&amp;#39;t you just use simple conditional formatting&lt;/p&gt;
&lt;p&gt;Thanks for the question.&lt;/p&gt;
&lt;p&gt;That&amp;#39;s one thing that I&amp;#39;ve been trying to get to work. I have a hidden field. I&amp;#39;ve set it to concatenate the values of the check boxes). To test that it is working, I have a checkbox associated with it, assuming that if its value is being changed to the concatenated value, that I would see the checkbox become checked. But it isn&amp;#39;t becoming checked. So I wondered if there were some other method for doing this since this one didn&amp;#39;t appear to be working.&lt;/p&gt;</description></item><item><title>Re: ISO ideas for dealing with a large number of checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/43197.aspx</link><pubDate>Fri, 19 Jun 2009 15:01:32 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43197</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43197.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=43197</wfw:commentRss><description>&lt;p&gt;Can&amp;#39;t you just use simple conditional formatting to hide instructions when certain checkbox criteria are not met?&amp;nbsp; You can easily create a hidden field that has a default value equal to the concatenated values of the checkboxes.&amp;nbsp; Be sure that unchecked is null and checked is some value.&amp;nbsp; Your hidden field will be null if no checkboxes are checked but will have some value or set of values if one or more are checked.&amp;nbsp; This should be enough to do all sorts of conditional formatting on other controls.&amp;nbsp; I wouldn&amp;#39;t imagine any programming is needed for your requirements.&lt;/p&gt;</description></item><item><title>ISO ideas for dealing with a large number of checkboxes</title><link>https://www.infopathdev.com:443/forums/thread/43190.aspx</link><pubDate>Fri, 19 Jun 2009 13:46:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:43190</guid><dc:creator>Larry W. Virden</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/43190.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=43190</wfw:commentRss><description>&lt;p&gt;I have an infopath form which has a number of checkboxes - basically, one for each area of concern for the form.&lt;/p&gt;
&lt;p&gt;I need some sort of technique to programatically determine whether any of the checkboxes are checked.&lt;/p&gt;
&lt;p&gt;I need, during processing of the form, to display one instruction if no checkboxes are checked, and another instruction if one or more are checked.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So far, I thought that I might be able to create a rule that concatenated the values of all the checkboxes, then determine the length of the resulting string. If the result was &amp;gt; 0, then I had hoped to set the value of a work field to true, otherwise, set it to false. However, I can&amp;#39;t figure out how to do the conditional check and setting of the value.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I also thought about adding the values of all the checkboxes together and then assigning that value to the work field. Unfortunately, I am getting an error that seems to indicate that sum only works on a repeating field.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Is there a way to achieve this type of check, without resorting to writing external code?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you very much&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>