Solved

How to disable edit mode for SharePoint users/Security Group?

  • 28 April 2022
  • 3 replies
  • 247 views

I have created Responsive form and added Group1 and Group 2 controls on the form.

My requirements are:

1. I have to add 2 security groups to the form, these groups can see the form once the form submitted. 

1st Security group can edit the form after the form submitted, and 2nd security group can only view the form after submit.

Please suggest the formula work in this case?

Thanks, PC

icon

Best answer by David- 30 April 2022, 19:11

View original

3 replies

Userlevel 1
Badge +6

You will need to play with this some, but something like this will restrict editing the form to just group 1 after it has been submitted. Below assumes all of your form fields are in groups. This hides all of the fields if the person is not in the group and wants to edit it. If you have more than one group of fields, you can add them to the rule. 


 



If you don't want to put the fields in groups, then your rules will need to be included on every field.


 


Is everyone who submits the forms in either group 1 or 2? If not, why do they not have the restrictions on seeing and editing things?


 


You will probably also need to turn off editing in grid view and change the permissions on the list so that people cannot create personal views. Otherwise they could get around your form rules.

@david I tried the rule you provided me, but my another issue is All Staff has contribute has on the form and the people who are in group 1 and group 2, they are the part of all staff group as well, looks like because they have contribute access through All Staff group I cann't restrict them to edit the form. If you know any solution for this issue, please let me know? Thanks in advance.
Userlevel 1
Badge +6

The rule I posted should work no matter what other groups people are in and have contribute access. As the rule below will only let one group see the fields when it is in edit mode. We use this method at my company for many things and it has always worked. Maybe there is just something I am not understanding regarding your requirements. Note, the rule in the image I posted is for the new responsive forms. If you are using one of the older formats, maybe that is the issue.


 


Also, when you say you have group 1 and group 2, are those SharePoint security groups or are you literally referring to two groups of people? If you are referring to groups of people, then you need to create two security groups (Group 1 and Group 2) and add the respective people to them. Then use those groups in the rule.

Reply