<?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: Evaluating Multiple values and then Displaying Text</title><link>https://www.infopathdev.com:443/forums/thread/69506.aspx</link><pubDate>Mon, 22 Aug 2011 15:33:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69506</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69506.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69506</wfw:commentRss><description>&lt;p&gt;Why not simplify this all by creating these 6 conditions as rules on those 5 fields, using the option &lt;strong&gt;Stop executing rules if this condition is met&lt;/strong&gt;?&lt;/p&gt;</description></item><item><title>Evaluating Multiple values and then Displaying Text</title><link>https://www.infopathdev.com:443/forums/thread/69417.aspx</link><pubDate>Thu, 18 Aug 2011 22:41:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69417</guid><dc:creator>mrmapi</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69417.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=69417</wfw:commentRss><description>&lt;p&gt;I have a calculation scenario where I would like to display text based on the evaluation of certain fields.&amp;nbsp; There are five fields which are basically subtotal fields that contain a number&lt;/p&gt;&lt;p&gt;Field1 - Unsatisfactory&lt;/p&gt;&lt;p&gt;Field2 - Needs Improvement&lt;/p&gt;&lt;p&gt;Field3 - Meets&lt;/p&gt;&lt;p&gt;Field4 - Exceeds&lt;/p&gt;&lt;p&gt;Field5 - Far Exceeds&lt;/p&gt;&lt;p&gt;In a 6th text box, i&amp;nbsp;need to be able to show a result based on the conditions below.&amp;nbsp;The line starting with asterisks is what I am most interested about since I am able to evaluate based on a single value.&amp;nbsp; All of the conditions below I&amp;nbsp;need to put in the same text box if possible.&lt;/p&gt;&lt;p&gt;1.&amp;nbsp; If Field1 has a value of 2 or higher, display &amp;quot;Unsatisfactory&amp;quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Concat(substring(&amp;quot;Unsatisfactory&amp;quot;, 1,(Field1 &amp;gt; 1) * String-Length(&amp;quot;Unsatisfactory&amp;quot;))&lt;/p&gt;&lt;p&gt;2.&amp;nbsp; If Field2&amp;nbsp;has a value of 3 or higher, display &amp;quot;Needs Improvement&amp;quot;&lt;/p&gt;&lt;p&gt;3.&amp;nbsp; If Field2 has a value of 2 and Field1 has a value of 1, display &amp;quot;Needs Improvement&amp;quot;&lt;/p&gt;&lt;p&gt;***4.&amp;nbsp; If Field4 has a value of 7 and Field3 has a value of 5, display &amp;quot;Exceeds&amp;quot; ( I thought I had it working, but it displays duplicate values if more than one condition is met)&lt;/p&gt;&lt;p&gt;&amp;nbsp;concat(substring(&amp;quot;Unsatisfactory&amp;quot;, 1, (Field1 &amp;gt; 1) * string-length(&amp;quot;Unsatisfactory&amp;quot;)), substring(&amp;quot;Needs Improvement&amp;quot;, 1, ((Field1 = 1) + (Field2 = 2)) * string-length(&amp;quot;Needs Improvement&amp;quot;)), substring(&amp;quot;Needs Improvement&amp;quot;, 1, (Field2 &amp;gt; 2) * string-length(&amp;quot;Needs Improvement&amp;quot;)), substring(&amp;quot;Exceeds&amp;quot;, 1, ((Field4 &amp;gt; 6)&amp;nbsp;+ (Field5 &amp;gt; 4)) * string-length(&amp;quot;Exceeds&amp;quot;)))&lt;/p&gt;&lt;p&gt;5.&amp;nbsp; If Field5 has a value of 8 and Field4 has a value of 4, display &amp;quot;Far Exceeds&amp;quot;&lt;/p&gt;&lt;p&gt;6.&amp;nbsp; Display &amp;quot;Meets&amp;quot; in any other situation&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any help would be much appreciated!&lt;/p&gt;&lt;p&gt;Thanks,&lt;/p&gt;&lt;p&gt;Jason&lt;/p&gt;</description></item></channel></rss>