Koha/koha-tmpl/intranet-tmpl
Galen Charlton 22593e2e9b Bug 10861: (follow-up) use minlength/maxlength rather than pattern for client-side validation
This patch replaces use of the HTML5 pattern attribute with minlength
and maxlength, which is compatible with the jQuery validation plugin
and which, in Chrome 33.0.1750.146 at least, works better.

To test:

[1] Enter a new patron record or edit an existing one.
[2] Verify that the minimum and/or maximum length requirements
    set by the CardnumberLength syspref are validated and that
    form submission is prevented if the cardnumber doesn't
    meet the length requirements.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2014-03-12 03:05:44 +00:00
..
js Bug 10404: tweak style of staff client previous/next links 2013-08-09 15:08:49 +00:00
lib Bug 11618: ensure jQuery timepicker is picked up by the i18n toolchain 2014-02-18 21:19:16 +00:00
prog Bug 10861: (follow-up) use minlength/maxlength rather than pattern for client-side validation 2014-03-12 03:05:44 +00:00