<?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: Help with Conditional Formatting</title><link>https://www.infopathdev.com:443/forums/thread/37753.aspx</link><pubDate>Wed, 28 Jan 2009 05:01:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37753</guid><dc:creator>Shiva</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37753.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=37753</wfw:commentRss><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You can add your condition in Boolean function then it will return correct value as included in your condition is OR and AND. &lt;/p&gt;
&lt;p&gt;Here is your condition:&lt;/p&gt;
&lt;p&gt;boolean((You are User1) or (You are User2) or (You are User3 AND the Requestor is User4 AND Purchase amount is less than $500.00))&lt;/p&gt;</description></item><item><title>Re: Help with Conditional Formatting</title><link>https://www.infopathdev.com:443/forums/thread/37752.aspx</link><pubDate>Wed, 28 Jan 2009 04:59:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37752</guid><dc:creator>swathip</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37752.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=37752</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Add the following conditions in conditional formatting.&lt;/p&gt;
&lt;p&gt;currentUser = &amp;quot;User1&amp;quot; or currentUser = &amp;quot;User2&amp;quot; or (currentUser = &amp;quot;User1&amp;quot; and Requestor = User4 and Purchaseamount &amp;lt; $500)&lt;/p&gt;</description></item><item><title>Help with Conditional Formatting</title><link>https://www.infopathdev.com:443/forums/thread/37732.aspx</link><pubDate>Tue, 27 Jan 2009 18:03:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:37732</guid><dc:creator>JDS300</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/37732.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=37732</wfw:commentRss><description>&lt;p&gt;I&amp;#39;m working on a Purchase Request form and as part of that form there will be an Approver Section.&amp;nbsp; I&amp;#39;m trying to disable the controls in the Approver Section (Approval Status drop down, Approved By text box, and a comments box) to the following conditions.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;You are User1&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You are User2&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;You are User3 AND the Requestor is User4 AND Purchase amount is less than $500.00&lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;I guess I started working backwards and I do have it working correctly with step 3. It checks currentuser, requestor, and purchase amount.&amp;nbsp; If the currentuser&amp;nbsp;!= User3, the requestor&amp;nbsp;!= User4, and the purchase amount is &amp;gt; 500.00.&amp;nbsp; However when I try to add in the steps for User1 and User2, the control is then greyed out for User3 when the condition is met.&lt;/p&gt;
&lt;p&gt;Basically User1 and User2 can approve anything. User3 can only approve items requested by User4 if its under $500.&amp;nbsp; Using workflow will determine which approver gets notified.&amp;nbsp; So for a purchase request by User4 for under $500, the workflow will just notify User3.&amp;nbsp; Hopefully that all makes sense. :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>