How to open edit form by default for specific SharePoint group

By default, standard form when user clicks List Item is Display form, but this might not work for all situations. In this article, we’ll show you how to automatically open editable form, when Display form opens normally.

Important

This does not actually redirect users to Edit form, instead it makes Display form’s fields editable.

Configuration

Let’s say you want most users to see default Display form:

Default Display form

You may also want Supervisors group to be able to edit the item when the default form opens.

For this, you can create a new Form Set, targeted specifically at Supervisors group:

Create a Form Set for Supervisors

Add the following code to JS editor, as the first line (no events, copy and paste):

fd.spForm._formType = "Edit";

Then, whenever a Supervisor clicks on an item, they’ll be able to edit the item:

Edit form for Supervisors

Essentially, this piece of JavaScript allows you to switch the type of the form, making default Display form behave like an Edit form.