Form lock on edit


I need to lock the form if a user already has it in edit mode. In essence, I want only one user to be able to edit an Item at a time.

Thank you.

Hello @Vasilii_Burca,

There is no way to achieve this out of the box, only using custom code.

For instance, you can save the login of the current user and the current time into a separate field with PNPjs and check this field on opening the form. If the field has been changed recently and the login name does not match the current user, then display a conflicting message.

If you need help with the code, you can use paid support. Please contact us via [email protected] for more details.