LP1951642 Self-registration DOB autopopulating date user/gcollum/lp1951642-Self-registration-dob-autopopulating
authorGarry Collum <gcollum@gmail.com>
Mon, 27 Jun 2022 19:06:49 +0000 (19:06 +0000)
committerGarry Collum <gcollum@gmail.com>
Mon, 27 Jun 2022 19:06:49 +0000 (19:06 +0000)
commitf4cfde4e46c1deb14cc5ce26084ee46d03d7536d
tree2a5acaa90e67428e67bf31379f702831bd1b9f50
parentb36ac41bd10b2a79849f1d1249442088ee77804b
LP1951642 Self-registration DOB autopopulating date

This removes that autopopulation of the date and adds a placeholder field
showing the date format.

To test:

1. In library settings turn on "Allow Patron Self-Registration" and "Show dob
field in patron registration".  "Require dob field on patron registration"
can also be turned on to test that option.

2. Go to the "Request Library Card" page of the opac and notice that the
dob field is populated with today's date.

3. Apply the patch.

4. Go to the "Request Library Card" page.  The dob is no longer populated
with a date, and now displays a placeholder for the date format.

5. Create a few registrations with dob dates and no dob dates.

Signed-off-by: Garry Collum <gcollum@gmail.com>
Open-ILS/src/templates-bootstrap/opac/register.tt2