<?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: problem using multiple rules to set a fields value.</title><link>https://www.infopathdev.com:443/forums/thread/90065.aspx</link><pubDate>Thu, 23 May 2013 13:38:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90065</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90065.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90065</wfw:commentRss><description>&lt;p&gt;Many thanks - that&amp;nbsp;works! &lt;/p&gt;
&lt;p&gt;I&amp;nbsp;had initially set them up that way however i didn&amp;#39;t appreciate that the conditions needed to be repeated&amp;nbsp;under each control&amp;nbsp;and my logic was a bit out. I&amp;#39;ve got it working now&lt;/p&gt;
&lt;p&gt;Thanks again for your help&lt;/p&gt;</description></item><item><title>Re: problem using multiple rules to set a fields value.</title><link>https://www.infopathdev.com:443/forums/thread/90064.aspx</link><pubDate>Thu, 23 May 2013 13:05:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90064</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90064.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90064</wfw:commentRss><description>&lt;p&gt;Since you want to set the value of field1, you cannot have the rules on this same field. The rules will never fire.&lt;/p&gt;&lt;p&gt;When the values of /dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:_x0079_r1 /dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:_x0079_r2 and /dfs:myFields/dfs:dataFields/my:SharePointListItem_RW/my:_x0079_r3 change, then you can have rules fire, and based on the various conditions, you can have an action that set&amp;#39;s the value of field.&lt;/p&gt;&lt;p&gt;So, in summary, your rules need to be on the BenefitsRealized1, 2 and 3 fields instead.&lt;/p&gt;&lt;p&gt;Hope this helps!&lt;/p&gt;</description></item><item><title>Re: problem using multiple rules to set a fields value.</title><link>https://www.infopathdev.com:443/forums/thread/90054.aspx</link><pubDate>Thu, 23 May 2013 07:55:23 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90054</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90054.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90054</wfw:commentRss><description>&lt;p&gt;Hi- 
&lt;p&gt;I have attached the form. The rules are attached to &amp;quot;field1&amp;quot; 
&lt;p&gt;Thanks for your help 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: problem using multiple rules to set a fields value.</title><link>https://www.infopathdev.com:443/forums/thread/90042.aspx</link><pubDate>Wed, 22 May 2013 18:56:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90042</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90042.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90042</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;Would you be able to attach your form (via the Options tab when responding)?&lt;/p&gt;&lt;p&gt;This sounds pretty straightforward, so there may be an error in your form logic. Taking a look at the form in design mode is the easiest way to figure that out.&lt;/p&gt;&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>problem using multiple rules to set a fields value.</title><link>https://www.infopathdev.com:443/forums/thread/90034.aspx</link><pubDate>Wed, 22 May 2013 16:08:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:90034</guid><dc:creator>seanbjack</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/90034.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=90034</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m having trouble with a set of rules I have setup in&amp;nbsp;infopath 2010 form for a sharepoint list&amp;nbsp;(list is in sharepoint 2010)&lt;/p&gt;
&lt;p&gt;I have a field (targetfield) that I want to set the value to either 1, 2 or 3 based on a number of combinations of values in other fields&lt;/p&gt;
&lt;p&gt;I have 3 boolean fields (year1, year2 and year3)&amp;nbsp;that check when a running total&amp;nbsp;becomes greater than zero over time. These fields are&amp;nbsp;defaulted to false initially using a form load rule if no data has been entered in the form. If the running total becomes great than zero in the second year&amp;nbsp;then &amp;quot;year2&amp;quot; and &amp;quot;year3&amp;quot;&amp;nbsp;fields return a value&amp;nbsp;of true and &amp;quot;year1&amp;quot; remains false etc. I now want to run a calculation that populates &amp;quot;targetfield&amp;quot; based on the year that total becomes true (calculation will differ depending on which year it first&amp;nbsp;becomes true).&lt;/p&gt;
&lt;p&gt;I have setup 3 rules on &amp;quot;targetfield&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;rule1&lt;/strong&gt;: if yr1 = true then set value of targetfield&amp;nbsp;to 1, &lt;strong&gt;rule2&lt;/strong&gt;: if yr2=true AND yr1=false then set value of targetfield&amp;nbsp;to 2, &lt;strong&gt;rule3&lt;/strong&gt;: if yr3=true AND yr2=false then set value of targetfield&amp;nbsp;&amp;nbsp;to 3&lt;/p&gt;
&lt;p&gt;for some reason this will not set the value based on these conditions. I have replicated these exact same rule conditions&amp;nbsp;to change the formatting of the field and these work as expected and without issue. &lt;/p&gt;
&lt;p&gt;Any ideas on what I may be missing?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Thanks, Sean&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>