<?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>InfoPath 2010</title><link>https://www.infopathdev.com:443/forums/142.aspx</link><description>Are you exploring new features coming up in 2010? Share information and ask questions here!</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: How can I Disable/Hide a control based on the user??</title><link>https://www.infopathdev.com:443/forums/thread/69306.aspx</link><pubDate>Tue, 16 Aug 2011 14:00:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69306</guid><dc:creator>jaybranch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69306.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=69306</wfw:commentRss><description>&lt;p&gt;Karsten,&lt;/p&gt;
&lt;p&gt;Excellent - why didn&amp;#39;t I think of that!&amp;nbsp; I already use the username() function on one of my fields, plus I have another box (hidden) at the bottom which gives the same info, but it changes as it also changes other fields on the form, depending on which user opens the form.&lt;/p&gt;
&lt;p&gt;So, I&amp;#39;ve created the rule and it seems to work fine - thanks for the tip!!&amp;nbsp;&amp;nbsp; :)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item><item><title>Re: How can I Disable/Hide a control based on the user??</title><link>https://www.infopathdev.com:443/forums/thread/69237.aspx</link><pubDate>Sun, 14 Aug 2011 22:48:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69237</guid><dc:creator>Karsten Brocksieper</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=69237</wfw:commentRss><description>&lt;p&gt;Hi James,&lt;/p&gt;&lt;p&gt;sure, you can do this with rules only.&lt;/p&gt;&lt;p&gt;First of all you have to get the current user name. This can be done with the userName() function in the &amp;#39;Default value&amp;#39; field of a textbox. The checkbox &amp;#39;Refresh value when formula is recalculated&amp;#39; must be deactivated. Then you need a second textbox with the same function in the default value. Here you should set the checkbox &amp;#39;Refresh... active. Now you set a rule on the approval control that this control will be hidden&amp;nbsp;or disabled when textbox1 is identical to textbox 2.&lt;/p&gt;&lt;p&gt;Hope that helps.&lt;/p&gt;&lt;p&gt;Regards,&lt;br /&gt;Karsten&amp;nbsp;&lt;/p&gt;</description></item><item><title>How can I Disable/Hide a control based on the user??</title><link>https://www.infopathdev.com:443/forums/thread/69137.aspx</link><pubDate>Wed, 10 Aug 2011 14:02:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:69137</guid><dc:creator>jaybranch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/69137.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=142&amp;PostID=69137</wfw:commentRss><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;On my Purchase Req form, the management team have requested that my approval control&amp;nbsp;(drop down list)&amp;nbsp;be hidden/disabled from a user &lt;strong&gt;IF&lt;/strong&gt; that user has created the form originally.&lt;/p&gt;
&lt;p&gt;In other words, they don&amp;#39;t wish&amp;nbsp;users to raise &lt;strong&gt;AND&lt;/strong&gt; approve their own forms.&amp;nbsp; So, if manager Steve raises his form, he shouldn&amp;#39;t be allowed to approve it aswell.&amp;nbsp; It should be submitted FAO another manager and he/she should approve it instead.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Could I do this using a rule?&amp;nbsp; If so, how do I do it?&lt;/p&gt;
&lt;p&gt;There are only a small number of people who can see the approval control as it is on the form.... &amp;#39;normal&amp;#39; users can&amp;#39;t, as they simply submit their form and their manager approves it.&amp;nbsp; But, managers &lt;em&gt;could&lt;/em&gt;&amp;nbsp;raise their own form and approve it if they wished.&amp;nbsp; We just need to get them to send their form to another manager for approval.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;Any help would be appreciated!&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;James&lt;/p&gt;</description></item></channel></rss>