LP#1361266 Patron self-registration form accepts date of birth in wrong format
authorMichael Peters <mpeters@emeralddata.net>
Thu, 4 Dec 2014 20:56:53 +0000 (15:56 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:38:08 +0000 (07:38 -0500)
commit30b4eaef3b383fc8be76015548927dfce612443a
tree4916562e3be2bb86e676f9a3b86d175f85716c9e
parent13be2510321e05df3b078a2fb31e695d9d62d69e
LP#1361266 Patron self-registration form accepts date of birth in wrong format

This patch applys some basic javascript to validate that a date entered is
at least in ISO 8601 format.  This prevents someone from entering "cupcake"
or 55/66/6666 as a valid date of birth by validating the stgu.dob input
at the time of submission.

Signed-off-by: Michael Peters <mpeters@emeralddata.net>
Open-ILS/src/templates/opac/register.tt2