<?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: Set a field based on boxes checked in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/82699.aspx</link><pubDate>Sat, 15 Sep 2012 13:35:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82699</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82699.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82699</wfw:commentRss><description>Where have you placed your rules?&amp;nbsp; I&amp;#39;d suggest placing them on the CheckedFields tally field instead of the checkbox field.</description></item><item><title>Re: Set a field based on boxes checked in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/82684.aspx</link><pubDate>Fri, 14 Sep 2012 17:11:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82684</guid><dc:creator>kizzie37</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82684.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82684</wfw:commentRss><description>&lt;p&gt;Thanks sophie,&lt;/p&gt;&lt;p&gt;I came up with something similar, but&amp;nbsp;two boxes&amp;nbsp;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;1 that counts the number of rows, &lt;/li&gt;&lt;li&gt;1 that counts the number of rows checked&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;If&amp;nbsp;number of rows is greater than 0 , but less that the&amp;nbsp;total rows then set as &amp;quot;Partial Approval&amp;quot;&lt;/p&gt;&lt;p&gt;If number of rows is equal to number of rows checked, then set to &amp;quot;Rejected&amp;quot;&lt;/p&gt;&lt;p&gt;But I cant seem to get both rules to work in harmony, one seems to dominate the other, its driving me crazy!&lt;/p&gt;</description></item><item><title>Re: Set a field based on boxes checked in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/82674.aspx</link><pubDate>Fri, 14 Sep 2012 14:15:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82674</guid><dc:creator>sophieryder</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82674.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82674</wfw:commentRss><description>&lt;p&gt;Hi Kizzie,&lt;/p&gt;&lt;p&gt;The way I would do it would be to add a hidden field in the repeating table called number with rules on the checkbox&amp;nbsp;to make the number 1 if checkbox is checked and 0 if it gets unchecked.&lt;/p&gt;&lt;p&gt;Then I would have 2 more hidden&amp;nbsp;fields outside the repeating table one called count and one called total with the default values of each &lt;strong&gt;count([checkbox field name here])&lt;/strong&gt; and &lt;strong&gt;sum([number field name here])&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;Then I would put&amp;nbsp;some rules on the submit button where the conditions would be if count = 0 then set status to Pending,&lt;/p&gt;&lt;p&gt;if count is greater than 0 and count is less than total then set status to Partial Approved,&lt;/p&gt;&lt;p&gt;if count is equal to total then set status to Approved&lt;/p&gt;&lt;p&gt;There may be an easier way but this is what I could come up with.&lt;/p&gt;&lt;p&gt;Hope this helps,&lt;/p&gt;&lt;p&gt;Sophie&lt;/p&gt;</description></item><item><title>Set a field based on boxes checked in a repeating table</title><link>https://www.infopathdev.com:443/forums/thread/82632.aspx</link><pubDate>Thu, 13 Sep 2012 19:17:49 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:82632</guid><dc:creator>kizzie37</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/82632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=82632</wfw:commentRss><description>&lt;p&gt;Is it possible to st an approval field based on lines checked in a repeating table.&lt;/p&gt;&lt;p&gt;My example, I have a status field with four choices:&lt;/p&gt;&lt;ul&gt;&lt;li&gt;Pending (Default)&lt;/li&gt;&lt;li&gt;Approved&lt;/li&gt;&lt;li&gt;Partial Approved&lt;/li&gt;&lt;li&gt;Rejected&amp;nbsp;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;I have a repeating table, with lines and a checkbox at the end, if just one line in the selection is checked, then the field should change to Parital Approval&lt;/p&gt;&lt;p&gt;If all liines are checked then the field should change to Rejected.&lt;/p&gt;&lt;p&gt;Can anyone help please?&lt;/p&gt;</description></item></channel></rss>