<?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: user roles and conditional formatting</title><link>https://www.infopathdev.com:443/forums/thread/44075.aspx</link><pubDate>Thu, 09 Jul 2009 20:10:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44075</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44075.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44075</wfw:commentRss><description>&lt;p&gt;I may not have typed the logic exactly right, but the concept is sound.&amp;nbsp; You can definitely write the logic to meet your needs, but it&amp;#39;s just a matter of getting it exactly how you want it to work in all scenarios.&lt;/p&gt;
&lt;p&gt;The View method may be your best bet, because it will save you a lot of time with building logic statements all over the place.&lt;/p&gt;</description></item><item><title>Re: user roles and conditional formatting</title><link>https://www.infopathdev.com:443/forums/thread/44070.aspx</link><pubDate>Thu, 09 Jul 2009 19:28:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44070</guid><dc:creator>Svetoslav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44070.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44070</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;strong&gt;Hello&amp;nbsp; warrtalon, &lt;/strong&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;thank you very much for your reply. It seems I really got wrong in the logic... But still,if I apply the conditions separately, one after another for a given control wouldn&amp;#39;t they eliminate each other. I mean that if the 1st condition for a Small leads to desable, than if the second enables it - which one will be valid.. I am sure I have to test it as soon as possible to see the result.&amp;nbsp;&lt;/p&gt;&lt;p&gt;On the other hand your idea about the views and read only view is just &lt;u&gt;&lt;i&gt;&lt;b&gt;brilliant&lt;/b&gt;&lt;/i&gt;&lt;/u&gt;. I havent thought of it at all...&amp;nbsp; &lt;/p&gt;&lt;p&gt;Best regards,&amp;nbsp;&lt;/p&gt;&lt;p&gt;Svetoslav&amp;nbsp; &lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: user roles and conditional formatting</title><link>https://www.infopathdev.com:443/forums/thread/44045.aspx</link><pubDate>Thu, 09 Jul 2009 16:05:36 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44045</guid><dc:creator>warrtalon</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44045.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44045</wfw:commentRss><description>&lt;p&gt;You&amp;#39;re missing the condition to check for large or small.&amp;nbsp; Also, your small condition should not be and - it should be OR.&amp;nbsp; If you use AND, then users have to be in BOTH of those groups in order to edit the fields.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;For small, it should be like this:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;If user&amp;#39;s current role is not equal to &amp;quot;Local Facilitator&amp;quot; AND&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;FormSize = Small OR&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;If user&amp;#39;s current role is not equal to &amp;quot;Global Facilitator&amp;quot; AND&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;FormSize = Small&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Disable this control&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;For Large, it should be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;If user&amp;#39;s current role is not equal to &amp;quot;Global Facilitator&amp;quot;&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Then Disable control&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;You don&amp;#39;t care if it&amp;#39;s large or small for the large condition - you only care that it&amp;#39;s a Global Facilitator, since they can always edit unless you have some other setting besides large and small.&lt;/p&gt;
&lt;p&gt;If you have a bunch of fields, then instead of adding this to each one, you can create a section with these conditions that HIDES the section, or if you want people to see the fields without being able to edit, then create separate views - one for Local Facilitators and one for Global Facilitators.&amp;nbsp; You switch to the corresponding view based off the current user&amp;#39;s affiliation, and that view will have the fields that person needs to be able to edit with others being all read-only without conditions.&amp;nbsp; You would also turn off the ability to manually switch views.&lt;/p&gt;
&lt;div&gt;
&lt;ul&gt;&lt;/ul&gt;&lt;/div&gt;
&lt;ul&gt;&lt;/ul&gt;</description></item><item><title>user roles and conditional formatting</title><link>https://www.infopathdev.com:443/forums/thread/44027.aspx</link><pubDate>Thu, 09 Jul 2009 11:41:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:44027</guid><dc:creator>Svetoslav</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/44027.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=44027</wfw:commentRss><description>&lt;p&gt;Hello all, &lt;/p&gt;
&lt;p&gt;&amp;nbsp;I am facing a major problem using user roles in conditional formating for controls. Here is my problem:&lt;/p&gt;
&lt;p&gt;I have a number of controls in a form, which have to be locked after the form is submitted to sharepoint. According to a selection in one of the controls, the form can be categorized as Large or Small. My purpose is to create a conditional formatting for the controls such that:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;if Small - both users with role &amp;quot;Local Facilitator&amp;quot; &amp;amp; &amp;quot;Global Facilitator&amp;quot; to have access to the locked fields. If done saparetely the formatting looks like this: &lt;strong&gt;if user&amp;#39;s current role is not equal to&amp;nbsp;&lt;/strong&gt; &amp;quot;Local Facilitator&amp;quot; &lt;strong&gt;and user&amp;#39;s current role is not equal to&amp;nbsp;&lt;/strong&gt; &amp;quot;Global Facilitator&amp;quot; &lt;strong&gt;and &lt;/strong&gt;control&amp;#39;s value = Small; then&amp;nbsp;apply&amp;nbsp;disable/read only.&lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;&amp;nbsp;if Large, only the user with the role &amp;quot;Global Facilitator&amp;quot; should have the right to edit the locked fields: the conditional formatting looks like this&amp;nbsp;&lt;strong&gt;user&amp;#39;s current role is not equal to&amp;nbsp;&lt;/strong&gt; &amp;quot;Global Facilitator&amp;quot; &lt;strong&gt;and &lt;/strong&gt;control&amp;#39;s value = Large; then&amp;nbsp;apply&amp;nbsp;disable/read only.&lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;
&lt;p&gt;So both of these conditions work fine wneh they are applied separately. But how can I apply both of them? Using my current knowledge and logic, I cannot find a proper solution. Can anyone provide me with some ideas..&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you in advance, &lt;/p&gt;
&lt;p&gt;Svetoslav &lt;/p&gt;</description></item></channel></rss>