https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28495

--- Comment #1 from Owen Leonard <[email protected]> ---
Created attachment 121737
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121737&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."

-- 
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/

Reply via email to