Bug 39673 - Organizing forms
Summary: Organizing forms
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: System Administration (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-04-17 22:28 UTC by Christopher Brannon
Modified: 2025-04-18 17:03 UTC (History)
1 user (show)

See Also:
GIT URL:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Example of current modifications made via jquery (82.55 KB, image/png)
2025-04-18 16:59 UTC, Christopher Brannon
Details
Example of imagined editor with modal for settings (74.13 KB, image/png)
2025-04-18 17:03 UTC, Christopher Brannon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christopher Brannon 2025-04-17 22:28:33 UTC
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.
Comment 1 Owen Leonard 2025-04-18 13:11:31 UTC
Some examples and screenshots would be helpful to understand this.
Comment 2 Christopher Brannon 2025-04-18 16:59:14 UTC
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.
Comment 3 Christopher Brannon 2025-04-18 17:03:46 UTC
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.