]> git.evergreen-ils.org Git - working/Evergreen.git/commit
LP1950166 TPac: Self-registration form won't submit with blank DOB
authorGarry Collum <gcollum@gmail.com>
Tue, 9 Nov 2021 16:09:48 +0000 (11:09 -0500)
committerGalen Charlton <gmc@equinoxOLI.org>
Wed, 29 Jun 2022 20:02:00 +0000 (16:02 -0400)
commit6147c6193b0ec19470786b668f0d9f22ebc17fa7
tree362687d858bf9e7a24ec11faa68c02a91e231250
parent1abfd4ed0e07fb71729e84893c62f72870c472d8
LP1950166 TPac: Self-registration form won't submit with blank DOB

Adds a check for a blank value in the DOB validation script. Note
that the issue is present in TPAC, not the Bootsstrap OPAC.

To test:
1. Confirm "Require dob field on patron registration" is not set or set to False.
2. Confirm "Show dob field on patron registration" is true.
3. Confirm "Allow Patron Self-Registration" is set to true.
4. Try to register a patron in the TPAC with DOB blank.
5. Apply patch.
6. Try to register a patron in the TPAC with the DOB blank.
7. Try to register a patron with Invalid DOB input.
8. Try to register a patron with valid DOB input.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Signed-off-by: Gina Monti <gmonti@biblio.org>
Signed-off-by: Galen Charlton <gmc@equinoxOLI.org>
Open-ILS/src/templates/opac/parts/js.tt2