Forum Discussion

childishbambino's avatar
childishbambino
Copper Contributor
Jul 21, 2022
Solved

locking down editable sections on a form but not hiding

I have a sharepoint list that has multiple people interacting with it. based off person 1 selecting person's 2 name in a drop down, I'd like only person 2 to be able to edit a certain section (dropd...
  • ganeshsanap's avatar
    Jul 22, 2022

    childishbambino If you are using person or group (people picker) column for selecting the person name, you can set DisplayMode property of data card to: 

     

    If(ThisItem.Person2.Email = User().Email, DisplayMode.Edit, DisplayMode.View)

    If you are using display name of users in drop down, you can compare it with User().FullName. But dropdown choices has to match exactly with the display names of users.

     


    Please click Mark as Best Response & Like if my post helped you to solve your issue. This will help others to find the correct solution easily. It also closes the item. If the post was useful in other ways, please consider giving it Like.

Resources