Requirements
- Allow a librarian to assign a custom field to an accordion (also called section name) called [Custom fields] - NOTE: screenshot states Additional information but the default will be Custom fields
- Allow a librarian to re-label the Custom fields accordion
- Custom fields accordion label character limit 65 characters
- The Custom field accordion label is configurable per record type on New/Edit Custom field page
- Field is required
Screenshot - Settings > Users > New/Edit Custom Fields
Screenshot - User Record - Display Custom fields under Custom fields accordion
Acceptance Criteria
If I clicked on the Settings > Users> Custom Fields> New Custom Field page
Then the custom field accordion label should be populated with the default value [Custom fields]
Given I am on the Settings > Users > Custom Fields > Edit Custom field page
When I change the custom field accordion label to Local information
Then the Accordion label will change to Local information
Given the Users Custom fields accordion label is Local information
When I have saved custom fields to the Users record
Then display Local information accordion with custom fields on the create/edit/view User record
Given the Users Custom fields accordion label is Local information
When I have not saved custom fields to the Users record
Then do not display Local information accordion on the Users record.
Given the user removed the custom field accordion value
When s/he clicks Save
Then display a message below the field [Field is required.]
Given the user exceeds the accordion label character limit
When s/he clicks Save
Then display a message below the field [65 character limit has been exceeded. Please revise.]
Following acceptance criteria maybe unnecessary.
Given I clicked on the Settings > Users> Custom Fields> New/edit Custom Field page
And changed the accordion label to Local Information
When I click on the Settings > Requests> Custom Fields> New/edit Custom Field page
Then the custom field accordion label should be populated with the default value [Custom fields] OR to whatever I changed specific to the Requests record
|