Most of the time when I add a new custom list inside SharePoint online, its New & Edit forms will need to be customized, the customization falls into these main categories:
Certain fields to be disabled depending on other field. For example, if
Status = close
, then the title and description should be disabled,and so on.Cascading lists.
Now in SharePoint on-premises (Mainly 2013), I use to add a script web part inside the New/Edit list forms and write those using JavaScript/jQuery. And if I need to do server-side checking (for example to make sure that no one modify a title for closed item), then I will write an item updating event receiver to do the check and cancel the update if needed.
But in SharePoint online, I thought that we will have other approaches to customize the lists' forms, mainly Modern UI and PowerApp, but those have these main drawbacks:
PowerApps:
- Some SharePoint features are not currently supported, for example you can not add a picture inside a multi-line of text fields.
- If you have a multi-line of text field with "Append changes to existing text" enabled, then the old appended text will not be shown inside the edit form.
Modern UI: They can not be customized by their own.
So most of the time I ended up using the classic UI + Script Editor + Remote Event Receiver, to implement our business logic inside SharePoint online lists.
Any advice on this?