I got no further with it, but looked instead for an alternative. What I really wanted was a popup that would edit a few fields from a simple table and then close rapidly without reloading the list. I had a vague recollection of an inline edit plugin, but found that had not made it into F4, having problems already in F3. With a few changes, I got it working after a fashion in F4. It actually edits a field by putting up a popup and has a facility to edit a number of fields in a single popup. For the purposes for which I wanted the modal form, it would be better than a modal form as it is a true popup, which does not refresh the list on closing like a modal form. It thus works much faster on both opening and closing, which is beneficial for a simple list.
What I have been doing (when I can find the time) is creating a new “listedit” plugin based on the inlineedit plugin. I posted a reply about this when someone posted about the missing F4 inlineedit plugin (
Any chance of updating the Inline Edit plugin for J4?).
I am now a fair way through creating the new plugin. It will have two modes of operation, either the inline edit mode to edit one or more fields by clicking an editable field or a new popup edit mode, triggered by the row edit button that normally opens the related form (modal or not). The plugin will be only for simple lists as the problems with complex usage, as described in the wiki, will remain.
Any comments or suggestions?