Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registrar: Validation birthday field in Contact - Allow a non-existent date of birth #1796

Closed
OlegPhenomenon opened this issue Jan 11, 2021 · 1 comment · Fixed by #2081
Closed

Comments

@OlegPhenomenon
Copy link
Contributor

OlegPhenomenon commented Jan 11, 2021

Steps:

  1. Go to contacts and create a contact
  2. Choose any country instead of Estonia
  3. In the type field select the date of birth
  4. Type tomorrow or any future day in the birthday field

The form creates a contact with a date of birth that will happen in the future

UPDATE:
Also the form skips non-existent dates, for example 0000-34-35

@yulgolem
Copy link
Contributor

yulgolem commented Jul 8, 2021

@vohmar do we have any legal regulations on correct age? Like "no younger than 18 years old" or smth like that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants