<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34346.aspx</link><pubDate>Mon, 17 Nov 2008 10:49:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34346</guid><dc:creator>Anuma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34346.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34346</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;You can see the role name(From which role we have opened the form)&amp;nbsp;in right side of the bottom pane. &lt;/p&gt;
&lt;p&gt;You can create the fields by using text boxes. But for dev purpose we can show those fields and for client purpose we cannot show those fields.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34344.aspx</link><pubDate>Mon, 17 Nov 2008 09:00:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34344</guid><dc:creator>Jonah Raymond A. Lazo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34344.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34344</wfw:commentRss><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;I know how to create the conditions but I do not know how to create fields and its properties you are describing...(can I create this using a textbox?how?)&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34343.aspx</link><pubDate>Mon, 17 Nov 2008 07:35:57 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34343</guid><dc:creator>ravig</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34343.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34343</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You have to insert two fields to the form, one is creator and another one is Administrator.&lt;/p&gt;
&lt;p&gt;Then in Tools --&amp;gt; Form Options --&amp;gt; Open and Save --&amp;gt; Rules --&amp;gt; set condition&lt;/p&gt;
&lt;p&gt;use following conditions&lt;/p&gt;
&lt;p&gt;Creator field&amp;nbsp; &amp;nbsp;&amp;#39;is not equal to&amp;#39; &amp;nbsp;Username() or&lt;/p&gt;
&lt;p&gt;Administrator&amp;nbsp; &amp;#39;is not equal to&amp;#39; Username()&lt;/p&gt;
&lt;p&gt;&amp;nbsp;in set actions select Switch views and in views drop down select new view in which only few fields are editable&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34342.aspx</link><pubDate>Mon, 17 Nov 2008 07:02:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34342</guid><dc:creator>Jonah Raymond A. Lazo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34342.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34342</wfw:commentRss><description>&lt;p&gt;Hi sandhyapati,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;I did also what you said me to try but did not work. I need to know how can i compare the userName (when submitted becomes read-only) and the one who is currently logged-in so that I can hide the other control.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34341.aspx</link><pubDate>Mon, 17 Nov 2008 06:56:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34341</guid><dc:creator>Jonah Raymond A. Lazo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34341.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34341</wfw:commentRss><description>&lt;p&gt;Hi ravig,&lt;/p&gt;
&lt;p&gt;I did what you said me to do but it still doesn&amp;#39;t work. One question though, how do you check wether who opens the form the creator or the Administrator? Thanks!&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34339.aspx</link><pubDate>Mon, 17 Nov 2008 05:27:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34339</guid><dc:creator>ravig</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34339.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34339</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can also design another view fo fields which are editable to all users.&lt;/p&gt;
&lt;p&gt;Check the whether the user opening the form is Creator or Administrator on load and switch to the new view if he is not a Creator or Administrator.&lt;/p&gt;
&lt;p&gt;You can do this by Tools --&amp;gt; Form Options --&amp;gt; Open and Save --&amp;gt; Rules (add rule hare) --&amp;gt; Add Action --&amp;gt; switch views.&lt;/p&gt;</description></item><item><title>Re: Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34337.aspx</link><pubDate>Mon, 17 Nov 2008 05:08:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34337</guid><dc:creator>sandhyapati</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34337.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34337</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;span style="FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;&lt;font size="3"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Can you follow the below steps &lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Arial;"&gt;&lt;span style="mso-list:Ignore;"&gt;1.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Add User field to Data source and add the rule to that field user is blank then set field value to the “userName()”.&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Arial;"&gt;&lt;span style="mso-list:Ignore;"&gt;2.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Add Conditional formatting to the fields by using the below steps&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Arial;"&gt;&lt;span style="mso-list:Ignore;"&gt;3.&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;"&gt;Select first dropdown to User and in second Dropdown select ‘is not equal to’ and select “Use a formaula’ and enter ‘userName()’ and click ‘ok’&lt;/span&gt; 
&lt;p&gt;&lt;span style="LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Arial&amp;#39;,&amp;#39;sans-serif&amp;#39;;FONT-SIZE:10pt;mso-fareast-font-family:Calibri;mso-ansi-language:EN-US;mso-fareast-language:EN-US;mso-bidi-language:AR-SA;"&gt;Select ‘Hide this control’ checkbox and click on ‘ok’.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Certain fields in the form should be hidden or disabled if the user logged in is not the who created the form</title><link>https://www.infopathdev.com:443/forums/thread/34332.aspx</link><pubDate>Mon, 17 Nov 2008 04:05:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:34332</guid><dc:creator>Jonah Raymond A. Lazo</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/34332.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=34332</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve been working on a form for our company. I am having troubles in creating conditional formatting where in certain fields in the form should be hidden or disabled if the user logged in is not the who created the form.&lt;/p&gt;
&lt;p&gt;Example:&lt;/p&gt;
&lt;p&gt;User1 creates a form and then submits the form in to the SharePoint library. When User2 reads the form created by User1, User2 should be able to edit some fields in that form while the other fields can only be edited by User1 (who created the form) and an administrator.&lt;/p&gt;
&lt;p&gt;How am I supposed to do this?&lt;/p&gt;
&lt;p&gt;Thank you very much!&lt;/p&gt;</description></item></channel></rss>