Example DOB field can break for self-registration

Bug #1860719 reported by Terran McCanna
60
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Evergreen
Confirmed
Undecided
Unassigned

Bug Description

The same library setting for "Example dob field on patron registration" is displayed by both the staff client's patron registration form and the OPAC self-registration form, but the OPAC self-registration form has different DOB requirements.

To recreate problem:
1. Enable the OUS for "Allow patron self-registration"
2. Enable the OUS for "Show DOB field on patron registration"
3. Set the OUS for "Format date with this pattern" to MM/dd/yyyy (note that there is an OUS change between 3.1 and 3.2)
4. Set the OUS for "Example DOB field on patron registration" to MM/DD/YYYY
5. In the staff client, test registering a new patron - the date example and the accepted format should match.
6. In the OPAC, test the "Request Library Card" form - the date example shows MM/DD/YYY, but if you submit it in that format, you get the message "You have entered an invalid date, or an improperly formatted date. Please enter Date of Birth in YYYY-MM-DD or YYYY/MM/DD format and try again."

Ideally, the self-registration form should use the same date format required by the staff client. Alternatively, it should have a different OUS for the "Example dob field" for display on the self-registration form.

Related bugs:
https://bugs.launchpad.net/evergreen/+bug/1814150
and
https://bugs.launchpad.net/evergreen/+bug/1774253

Revision history for this message
Joan Kranich (jkranich) wrote :

Browser: Chrome and Firefox for OPAC Self Registration
Chrome for staff Web Client
Evergreen Release 3.2.8 and 3.4.2

I can confirm the date of birth date format problem as described by Terran when set to MM-DD-YYYY. In our case the format contains hyphens.

Changed in evergreen:
status: New → Confirmed
Revision history for this message
Jennifer Pringle (jpringle-u) wrote :

In bootstrap it's not possible to enter a date as MM/dd/yyyy into the self registration form. I manually typed in 03/15/2022 and when I clicked out of the form it changed to 8-09-11 (which became 1908-09-11 when I loaded the pending patron). The same thing happens if you used hyphens instead of slashes.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.