How do you restrict one field to only allow certain team members to edit?

  • 29 December 2015
  • 2 replies
  • 15 views

Badge +1

I have a form with roughly 90 fields, and we would like to include a "hold" status. But the catch is only a handful of team members should be able to put an item on hold. I have two other fields that show when that status is selected.

 

How would I restrict certain users from changing the status to hold? The users should still be able to change the status to the other options, just not hold.

 

Thanks,

Lauren


2 replies

Userlevel 7
Badge +17

Christophe Raucq has a good walkthrough on Hide Edit Item button if user is not allowed to edit using which is a similar situation for you. But you should change the part about the user permissions and use javascript to find if the user is a member of a group, if not then hide the controls(s).

 

There is also an inline function you can use within a rule fn-IsMemberOfGroup Returns true if the current user belongs to the Windows / SharePoint group specified in the string argument. This is probably the easiest way if you can set up a SharePoint group of these users.

Badge +1

Thanks Andrew!

Reply