]> git.koha-community.org Git - koha.git/commit
Bug 10267: Display the message only if the user enters too many characters
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 24 Oct 2017 21:10:40 +0000 (18:10 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 27 Oct 2017 17:10:28 +0000 (14:10 -0300)
commit774b9d5fd8197ffb40096be89947b3d3efe61398
tree1888beecbcfa25cb4bfad770e126c8d71771f162
parentedaebf2565fd4e5840d98813f6077445aa9b6bd5
Bug 10267: Display the message only if the user enters too many characters

It seems better to display the warning if the user tries to enter too
many characters in the input.

Test plan:
With max=16
1. Copy/paste a string with 15, 16 and 17 characters
2. Enter a cardnumber of 15, 16, 17 characters
The warning should be displayed only the input overflows

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>
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