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

--- Comment #1 from Aleisha Amohia <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://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