<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39938.aspx</link><pubDate>Tue, 24 Mar 2009 22:16:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39938</guid><dc:creator>toro_mike</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39938.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39938</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m sure there is an easier solution.&amp;nbsp; I just haven&amp;#39;t been able to find it...&amp;nbsp; The form does connect to a database, is extensive, and has been deployed for some time.&amp;nbsp; This is an add-on that I need to do.&amp;nbsp; The problem with adding values to the check boxes then adding them up is that one check box does not = 2%.&amp;nbsp; The person filling in the form only gets credit for a full 20%, 40% and so on.&amp;nbsp; That&amp;#39;s why I am going down this road to begin with.&lt;/p&gt;</description></item><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39932.aspx</link><pubDate>Tue, 24 Mar 2009 20:47:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39932</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39932.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39932</wfw:commentRss><description>&lt;p&gt;I can&amp;#39;t help but wonder if there isn&amp;#39;t an easier way. Is your form bound to a data base? Or created from scratch? If you started with a blank form, you might want to consider adding attributes to the fields w/ the checkboxes. The attribute could store a value and each checkbox field would have a single rule to modify the attribute value... then your &amp;#39;total&amp;#39; field could sum up the attributes.....&lt;/p&gt;</description></item><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39930.aspx</link><pubDate>Tue, 24 Mar 2009 20:20:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39930</guid><dc:creator>toro_mike</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39930.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39930</wfw:commentRss><description>&lt;p&gt;Ah yes, makes sense.&amp;nbsp; It is looking like a ton of rules with a lot of propensity towards mistakes!&amp;nbsp; Thanks for the direction...&amp;nbsp; I&amp;#39;ll see where it takes me and post any further questions here&amp;nbsp;if they come up.&amp;nbsp; You have been extremely helpful and I really appreciate it!&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39928.aspx</link><pubDate>Tue, 24 Mar 2009 20:14:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39928</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39928.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39928</wfw:commentRss><description>&lt;p&gt;When you uncheck the box,&lt;strong&gt; .=string(true())&lt;/strong&gt; won&amp;#39;t be true anymore, because the field&amp;#39;s value is now FALSE. So you will need to add another rule with a condition to handle for what you want the value to be if the field bound to the checkbox is false (I think you are going to end up with &lt;strong&gt;*lots* &lt;/strong&gt;of rules!)&lt;/p&gt;</description></item><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39924.aspx</link><pubDate>Tue, 24 Mar 2009 19:35:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39924</guid><dc:creator>toro_mike</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39924.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39924</wfw:commentRss><description>&lt;p&gt;Hi Hilary...&amp;nbsp; Thanks for that.&amp;nbsp; I agree that I definitely was putting it in the wrong place!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Now...&amp;nbsp; I placed the&amp;nbsp;following expression&amp;nbsp;on each check box in section 1:&lt;/p&gt;
&lt;p&gt;. = string(true()) and ../my:BS_PercentToClose_2 = string(true()) and ../my:BS_PercentToClose_3 = string(true()) ../my:BS_PercentToClose_4 = string(true()) ../my:BS_PercentToClose_5 = string(true()) ../my:BS_PercentToClose_6 = string(true()) ../my:BS_PercentToClose_7 = string(true())&lt;/p&gt;
&lt;p&gt;That adds the 20 to the appropriate text box.&amp;nbsp; When you clear one of the boxes, it stays at 20.&amp;nbsp; Is there a way to tackle that?&amp;nbsp; Shouldn&amp;#39;t unchecking trigger the Rule again?&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help!&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;</description></item><item><title>Re: How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39922.aspx</link><pubDate>Tue, 24 Mar 2009 19:10:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39922</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39922.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39922</wfw:commentRss><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;It sounds to me from your description that you have set the rule on the field you wish to have change. Rules fire when the field they are bound to changes, so your rule is waiting for your read only field to change.... which isn&amp;#39;t going to happen.&lt;/p&gt;
&lt;p&gt;Instead, you could set rules on your checkboxes. When checkbox one is modified it would set the value of your read only field appropriately, same with checkbox 2, etc. The problem with this approach is that you&amp;#39;ll have to set up quite a few rules and conditions for each checkbox, but I&amp;#39;m not sure there is any way around that. &lt;/p&gt;
&lt;p&gt;Give it a try -- set the rule on the checkbox fields instead of the field you want to have the total percentage in....&lt;/p&gt;</description></item><item><title>How to determine a field value based upon a series of check boxes...</title><link>https://www.infopathdev.com:443/forums/thread/39918.aspx</link><pubDate>Tue, 24 Mar 2009 16:49:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:39918</guid><dc:creator>toro_mike</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/39918.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=39918</wfw:commentRss><description>&lt;p&gt;I have spent a couple of days searching for a way to do the following with no luck.&amp;nbsp; Any help you folks can give would be most appreciated...&lt;/p&gt;
&lt;p&gt;I have a browser-based form on MOSS 2007 that has 5 sections of tasks that must be completed in order to give a percentage completed.&amp;nbsp; The check boxes are set to TRUE if checked and FALSE if empty.&amp;nbsp; Each section of check boxes&amp;nbsp;represents 20%.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;What I need is a separate&amp;nbsp;field that is automatically updated with the correct percentage as the sections are completed.&amp;nbsp; When the user checks all of the check boxes in section 1, they get 20%, when they check all boxes in&amp;nbsp;the next section they get 40% and so on.&amp;nbsp; No % credit is given if section 2 is filled in before section 1...&lt;/p&gt;
&lt;p&gt;So, as a general test, I created a read-only text field with a rule under Validation and Rules in the field properties.&amp;nbsp; The rule has a condition where BS_PercentToClose_1 is equal to TRUE AND BS_PercentToClose_2 is equal to TRUE and so on.&amp;nbsp; &lt;br /&gt;The expression code looks like this:&lt;br /&gt;my:BS_20/my:BS_PercentToClose_1 = string(true()) or my:BS_20/my:BS_PercentToClose_2 = string(true()) or my:BS_20/my:BS_PercentToClose_3 = string(true())&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The action is to set the field&amp;#39;s value at 20.&lt;/p&gt;
&lt;p&gt;If I preview the form, and check the boxes, it does not set the value of the field to 20.&amp;nbsp; So, I changed it so if box 1 in section 1 was checked it should change the field to 20.&amp;nbsp; No good still.&amp;nbsp; I published the form and activated it just to make sure.&amp;nbsp; Same issue.&lt;/p&gt;
&lt;p&gt;This seems really straight forward, but I cannot make it work.&amp;nbsp; I&amp;#39;m open to any ideas out there!!&lt;/p&gt;
&lt;p&gt;Thanks!&lt;br /&gt;Mike&lt;/p&gt;</description></item></channel></rss>