I want to set the values of 3 SharePoint list columns when it goes into edit mode using JavaScript in SharePoint Online.
I have a list in a popup form that looks like the below. When the user clicks the Edit button to go into edit mode, I want the EntryDateTime to be set to the current date/time, initials to be set to the initials of the current user, and Project to be set to the current project. How/where can I fire the JavaScript?