<?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>Browser Forms</title><link>https://www.infopathdev.com:443/forums/40.aspx</link><description>For browser form specific questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Conditional Formatting, Hide section if user is not in SharePoint list.</title><link>https://www.infopathdev.com:443/forums/thread/91535.aspx</link><pubDate>Mon, 22 Jul 2013 12:53:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91535</guid><dc:creator>Jimmy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91535.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=91535</wfw:commentRss><description>&lt;p&gt;AuthUsername [is not equal to] userName()&amp;nbsp;will evaluate to true if &lt;em&gt;any&lt;/em&gt; of the AuthUsername values are not equal to userName(). What you should use is:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp;&lt;strong&gt;All instances of AuthUsername&lt;/strong&gt; are not equal to userName()&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;The &lt;strong&gt;all instances of&lt;/strong&gt; option should be available in a dropdown when you use the Select field or group dialog to select &lt;strong&gt;AuthUsername&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Re: Conditional Formatting, Hide section if user is not in SharePoint list.</title><link>https://www.infopathdev.com:443/forums/thread/91457.aspx</link><pubDate>Wed, 17 Jul 2013 20:09:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:91457</guid><dc:creator>Frenzy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/91457.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=91457</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;I&amp;#39;m having strange issues using the above example to do the same thing.&amp;nbsp; Specifically, my form has an area (i.e. &amp;quot;Section&amp;quot;) that I wish only certain people (based on a SharePoint List of usernames) to see when they access the form. &lt;/p&gt;&lt;p&gt;&amp;nbsp;My rule&amp;#39;s condition is:&amp;nbsp; AuthUsername [is not equal to] userName() &lt;br /&gt;&lt;/p&gt;&lt;p&gt;I have a field named &amp;#39;username&amp;#39; that contains the value &amp;#39;userName()&amp;#39; and I have also ensured that I have a secondary data connection that points to the SharePoint List that contains the list of usernames which are authorized to view that Section of the form.&amp;nbsp; I also ensured that the secondary data connection has only the &amp;#39;AuthUsername&amp;#39; checkbox checked.I did not check the checkbox for &amp;#39;Store a copy of the data in the form template as I do not believe I need to do this.&amp;nbsp; I also ensured that the checkbox to &amp;#39;automatically retrieve the data from the form when the form is opened&amp;#39; is checked so that the variable is available for the rule to work.&lt;/p&gt;&lt;p&gt;When I go to the form and either edit or create a new item I cannot see that hidden section of the form that I should be able to view.&amp;nbsp; My username within the SharePoint List that the secondary data connection retrieves has only the username but NOT the domain name (i.e. mjohn) but maybe I should include the domain name too? (i.e. DOMAIN\mjohn)? &amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;Any help would be greatly appreciated.&amp;nbsp; Funny thing is...I&amp;#39;ve done this in the past, many many times, successfully.&amp;nbsp; That was a different job and a few years ago.&amp;nbsp; I&amp;#39;m in a new work environment and I have no idea why it won&amp;#39;t work now.&amp;nbsp; err...&lt;/p&gt;&lt;p&gt;&amp;nbsp;Phil &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Conditional Formatting, Hide section if user is not in SharePoint list.</title><link>https://www.infopathdev.com:443/forums/thread/80632.aspx</link><pubDate>Mon, 16 Jul 2012 14:43:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80632</guid><dc:creator>Anson Hidajat</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80632.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=80632</wfw:commentRss><description>You&amp;#39;ll need to create a secondary data connection to the SharePoint list in your form.&amp;nbsp; Retrieve the current user name using the userName function.&amp;nbsp; With these pieces of data, you can now create&amp;nbsp;a formatting rule on your section that will hide conditionally based on whether the user name exists in that list.&amp;nbsp; Hope that guides you in the right direction.</description></item><item><title>Conditional Formatting, Hide section if user is not in SharePoint list.</title><link>https://www.infopathdev.com:443/forums/thread/80630.aspx</link><pubDate>Mon, 16 Jul 2012 14:32:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:80630</guid><dc:creator>Matt63119</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/80630.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=40&amp;PostID=80630</wfw:commentRss><description>&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;I need some help with conditional formatting.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I am trying to hide a section from view if
you are not a in a SharePoint list.&amp;nbsp; IP 2010, SP 2010&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font face="Calibri"&gt;&lt;font size="3"&gt;I have two columns in the SharePoint list.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;A text field for User Name and a “Person or
Group” selector.&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;SharePoint list example: &lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;T&lt;/font&gt;&lt;font face="Calibri"&gt;ext Field, “Person or Group”&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Jon Smith, domain\jsmith&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;Sara Smith, domain\ssmith&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;&lt;p style="margin:0in 0in 10pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Calibri"&gt;How do I hide a section if they are not in that SharePoint
group?&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;

&lt;/font&gt;</description></item></channel></rss>