https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40476
--- Comment #2 from David Cook <[email protected]> --- Created attachment 184531 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=184531&action=edit Bug 40476: Limit item type codes to letters and numbers This patch adds a custom jquery validator method to perform a regex test on item type codes in the admin module. Test plan: 0. Apply the patch 1. Go to http://localhost:8081/cgi-bin/koha/admin/itemtypes.pl?op=add_form 2. Try to input an "Item type" like "abc123+ 3. Note the input turns red and the message "Invalid pattern" appears. 4. Try to input an "Item type" like "ébook" 5. Note that the input is capitalised, it stays black, and there is no warning 6. Try out more combinations of things you'd like to use as item type codes -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
