comply with server-side validation on birthdate field