[Koha-bugs] [Bug 18932] Validation not being completed on member entry for number fields

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jul 13 06:36:50 CEST 2017


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

--- Comment #1 from Aleisha Amohia <aleisha at catalyst.net.nz> ---
Created attachment 65013
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65013&action=edit
Bug 18932: Implementing rules for validating number fields for borrower info

The fields I've added validation for are (in both OPAC and staff
client):
- phone
- secondary phone
- other phone
- fax
- zipcode
- alt address zipcode
- alt address phone
- alt contact zipcode
- alt contact phone
- SMS number (messaging preferences, may have to enable the
EnhancedMessagingPreferences and EnhancedMessagingPreferencesOPAC
sysprefs to see this)

To test:
1) In staff client, add a new patron or edit an existing one. Confirm
that attempting to enter symbols or letters in the above fields prevents
form submission
2) In OPAC, log in and edit your personal details. Confirm that
attempting to enter symbols or letters in the above fields prevents form
submission.
3) Go to your messaging preferences and confirm you can only save
numbers in the SMS number field

Sponsored-by: Catalyst IT

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list