]> git.koha-community.org Git - koha.git/commit
Bug 10267: Show error message if user tries to enter too many characters for cardnumber
authorAleisha Amohia <aleishaamohia@hotmail.com>
Thu, 20 Apr 2017 03:35:47 +0000 (03:35 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:10:28 +0000 (14:10 -0300)
commitedaebf2565fd4e5840d98813f6077445aa9b6bd5
tree5ee2a77b17cd2ce87120ed0a49335161f330e6b8
parent63a9c26fe5d5ec5b2ca1b5c7e61c78b4a26455bc
Bug 10267: Show error message if user tries to enter too many characters for cardnumber

This patch displays a message if the user tries to enter more than the
max number of characters for a cardnumber.

To test:
1) Apply patch and go to Patrons -> New patron
2) Scroll down to Card number
3) Put in any characters. Notice that when you have entered the max
number of characters, you are unable to type any more.
4) Click out of the text field (so it loses focus), the error message will show up.
5) if you backspace some characters and click out of the text field
again, the message should disappear

Sponsored-by: Catalyst IT
Followed test plan, works as expected
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt