http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14620
Lari Taskula <la...@student.uef.fi> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #41461|0 |1 is obsolete| | --- Comment #8 from Lari Taskula <la...@student.uef.fi> --- Created attachment 41502 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41502&action=edit Bug 14620 - Contact information validations I'm thinking we should centralize all patron's contact information validators into one module. Currently we only have validations for e-mail addresses, using the Email::Valid module. In our local library we also want to validate phone numbers with a regex that only recognizes phone numbers from my country. So I suggest we create a phone number validation as well, with an option to easily create custom regex for your local use. If a library does not wish to use validations, we should give them an option to turn them off. If more local validators are implemented, we should also give the library an option to select which validator they wish to use. With this method we could implement phone number validators from around the world and add them into our module. Then we would make the validations simply by calling our validator. The validator would know by system preference which one of the implemented phone number validators it should use. Validations should be both client and server side. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list Koha-bugs@lists.koha-community.org 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/