17 Jan
2017
17 Jan
'17
7:59 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17855 --- Comment #92 from Owen Leonard <oleonard@myacpl.org> --- (In reply to Alex Buckley from comment #91)
Yes you are correct that the regex ^[^0\s].* prevents inputting of 0 or a whitespace as the first character of the cardnumber, which is good.
I marked it 'Failed QA' because I couldn't enter a card number which contained a 0 in any position. My library has thousands of library cards which start with leading zeros. What kind of validation is typically done server-side on a card number? I don't think this form should be more strict than other places in Koha. -- You are receiving this mail because: You are watching all bug changes.