[Koha-bugs] [Bug 28495] Add validation to branchcode upon library creation
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 30 16:45:51 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28495
Nick Clemens <nick at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #121867|0 |1
is obsolete| |
Attachment #123318|0 |1
is obsolete| |
--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
Created attachment 123332
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=123332&action=edit
Bug 28495: Improve validation of library entry form
This patch adds validation of the "Library code" field so that entry is
limited to letters and numbers.
Also changed: Updated the email fields to add the "email" type attribute
(see also Bug 27805).
To test, apply the patch and go to Administration -> Libraries -> New
library.
- Try entering various strings in the "Library code" field. If you enter
anything other than letters and numbers an error message should be
displaed on blur or on submit.
- Try submitting the form with no data in the "Library code" and/or
"Name" field. The fields should be required.
- Test entering various strings in the email-type fields:
Email, Ill staff email, Reply-To, and Return-Path. Non-email entries
should trigger a message, "Please enter a valid email address."
Signed-off-by: Salman Ali <salman.ali at inLibro.com>
Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list