Infopath Form Filed Show/Hide based on Login/Selected User RRS feed

  • Question

  • HI,


    Is there anyway to show/Hide the Check box or Button or section  in the Infopath 2007 based on user.

    I want to show the check box only for few users. Is there anyway for it. Pelase help me out.



    • Moved by Mike Walsh FIN Friday, March 4, 2011 5:37 AM InfoPath questions go to the InfoPath forum (From:SharePoint - Setup, Upgrade, Administration and Operation (pre-SharePoint 2010))
    Thursday, March 3, 2011 10:18 PM


All replies

  • create a list and usernames into the list and read list into infopath and check the current user is in it or no and put the result somewhere in form.

    Now create a rule to show the checkbox base on the noted result.


    SharePoint/.Net developer Reza Nazemi
    Friday, March 4, 2011 12:37 AM

    Thanks for the reply. Can you please tell me, how can i check the current user name in the info path. FYI - I am not using code behind in this form.

    Friday, March 4, 2011 1:20 AM
  • I found this solution below.  It seems to work but I have not fully tested.  I did not get any errors at least.


    Good Luck


    • Proposed as answer by Clayton Cobb Friday, March 4, 2011 10:41 PM
    • Marked as answer by Emir Liu Friday, March 11, 2011 3:17 AM
    Friday, March 4, 2011 5:16 PM

    Thanks for the respone. I will check it out the link....

    Friday, March 4, 2011 6:22 PM