In this article we can explore a typical real-world scenario of locking OOB Edit Forms in SharePoint.
Scenario You have a SharePoint list and a custom new/edit/delete form for it. The custom form will allow controlled editing of the item, plus some validations. It means User A cannot edit User B’s item. How to achieve this? Solutions I am recommending various solutions for this scenario. Solution 1: Item Level Permissions One easy solution is using the List, Advanced Settings, then Item-Level Permissions. But, this solution won’t work if you need Approvers group to edit the items. Solution 2: Delete Edit Form using SharePoint Designer Here we can delete the edit form of list & provide another custom HTML form to manage the restricted edit. To delete the edit form, here are the steps: Open the list in SharePoint Designer, thenLocate the EditForm.aspx and Choose Delete option. Open SharePoint Designer and click Your list. Go to the Forms section as in the following screenshot: From the ribbon choose the Delete option. Save changes and now Open the list in browser. You should not be getting the Edit form now. Although the following error needs to be modified. Note
Summary In this article we explored a real-world scenario of locking OOB Edit Forms.
SharePoint Online And Office 365 Administration