<?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>infopath rule function --- to desiable button based on field number and employee role(manager)</title><link>https://www.infopathdev.com:443/forums/thread/93398.aspx</link><pubDate>Tue, 01 Oct 2013 21:04:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:93398</guid><dc:creator>kumar51</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/93398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=43&amp;PostID=93398</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;Hi friends ,&lt;br /&gt;&lt;br /&gt;I&amp;#39;m developing an infopath form for employees expense report. &lt;br /&gt;&lt;br /&gt;employee opens infopath form and fill there expenses and clicks on submit button.&lt;br /&gt;i attached a work flow to this infopath. As soon as employee submits expense report workflow&amp;nbsp; will send email to manager.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if expense report amount is more than 200$ then it will send email to director and {cc - manager}&lt;br /&gt;In above scenario if amount is morethan 200$ then if managers opens infopath form then &amp;quot;approve&amp;quot; button must be desiable.&lt;br /&gt;it should be visible only for directors&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;task : can you please tell me a infopath rule -- a rule must check a field value and if amount is &amp;gt;200 i need to write a function&lt;br /&gt;so that i will hide approve button when managers logs in&amp;nbsp;&lt;/p&gt;</description></item></channel></rss>