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

Show proper error message for invalid DOB in patient registration form #7360

Closed
nihal467 opened this issue Mar 8, 2024 · 7 comments
Closed
Assignees

Comments

@nihal467
Copy link
Member

nihal467 commented Mar 8, 2024

Describe the bug

When we input an invalid DOB in the patient registration form and submit the form, an error message "Something went wrong"

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://care.coronasafe.in/patient
  2. Click on add patient button and create a patient registration form with dob of (Future Date)
  3. Submit the form
  4. See error

Expected behavior

it should be showing the proper error message

Screenshots

image

@saloni0419
Copy link
Contributor

@nihal467 can you please assign this issue to me

@Dareenfadel
Copy link
Contributor

@nihal467 could you please assign it to me?

@saloni0419
Copy link
Contributor

@nihal467 I have a question regarding this. There is no option to select the future date in DOB. Can you please guide me on how to generate this error
image

@nihal467
Copy link
Member Author

nihal467 commented Mar 9, 2024

@saloni0419 you can type the invalid date

@saloni0419
Copy link
Contributor

@nihal467 Okay

@saloni0419
Copy link
Contributor

@nihal467 Has someone solved this issue becuase it is already showing this message
image

@rithviknishad
Copy link
Member

Closing as completed in #7366

@github-project-automation github-project-automation bot moved this from Triage to Done in Care Mar 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

4 participants