JBAS-1379 Card app usability improvements
authorBill Erickson <berickxx@gmail.com>
Tue, 10 May 2016 15:34:50 +0000 (11:34 -0400)
committerBill Erickson <berickxx@gmail.com>
Thu, 21 Mar 2019 19:46:23 +0000 (15:46 -0400)
commit125d5638c37a15e3bf0d3cb814c751de51d6d81d
treee88dfadafef497821e4da13c57b6c0e95b51246d
parent0c022fe1df87468e7744cabc430149b9133a454f
JBAS-1379 Card app usability improvements

* Set state field to 'readonly' instead of 'disabled' in patron card form
so that the value will be passed to the server.

* Require phone to have the format /^\d{3}-\d{3}-\d{4}/ if any value is
present.

* Show warning style for missing values on street, city, post code.

* Validate fields onkeyup so it's obvious when a field is newly valid.

Signed-off-by: Bill Erickson <berickxx@gmail.com>
KCLS/openils/var/templates_kcls/opac/register.tt2
Open-ILS/web/js/ui/default/opac/register.js