Similar to what we have for defining what columns show for each table, it would be nice if we had a tool that listed all forms in Koha and allowed admin to structure the form order, wording, and availability. This would be a tool that would add new functionality while incorporating various current sys prefs like BorrowerMandatoryField, BorrowerUnwantedField, CollapseFieldsPatronAddForm, PatronDuplicateMatchingAddFields, PatronQuickAddFields, PatronSelfModificationBorrowerUnwantedField, PatronSelfModificationMandatoryField, PatronSelfRegistrationBorrowerMandatoryField, and PatronSelfRegistrationBorrowerUnwantedField. Currently we use a combination of jQuery and these fields to move things around, hide, require, and reword. It seems like it would be more efficient and logical to have these all together and allow for rewording and reordering as needed in one place.
Some examples and screenshots would be helpful to understand this.
Created attachment 181190 [details] Example of current modifications made via jquery Here is an example of some of the modifications we make via jquery. This is only some of what we do just to edit the form to our workflow.
Created attachment 181191 [details] Example of imagined editor with modal for settings This is just a crude example of what might be possible. From a list of forms that could be edited, for example, the patron information, we could relabel the surname field where ever it is displayed and indicate if it is required or hidden in particular forms. Sections could be reorganized, and fields within sections could be reorganized with drag and drop handles on the left. There might be better ways to achieve this, but this would be a huge improvement over the various system preferences and jquery needed to accomplish the same thing.