cityofaustin / cityofaustin/techstack
"File a complain" form allow a invalid input in the year field for the date
- Dominant language
- No language data
- Stars
- 11
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
## Describe the bug
A clear and concise description of what the bug is
User is able to input 1 or 2 numeric characters for the year field. Although it is unlikely the user will type only one number for the year it is not uncommon for a user to type 2 numbers for the year. The form allows the user to keep going and finish the form and submit it.
if the user stops to in the review form it will see that the date field says invalid
## URL
https://forms.austin.gov/police-complain/what-happened
## To Reproduce
Steps to reproduce the behavior
example:
1. Go to 'https://forms.austin.gov/police-complain/what-happened'
2. when inputting the date type a 2 digit or a 1 digit input for the year
3. Scroll down to bottom and click continue until you finish the form
4. at the edit section the confirm that the date field is invalid
## Current behavior
A clear and concise description of what happened
## Expected behavior
The expected behavior here would be that the user is not allow to continue filling the form or that there is a alert that tells the user a four number input is needed for this field.
**Issue is not present if the user uses the date picker but it wouldn't be uncommon for a user to prefer to type this inputs to move quickly thru the form.
## Screenshots
*** have issues uploading a video but if you need clarification please reach out to me
## Device and browser
tested on Chrome
## Additional context
this issue doesn't prevent the user to complete the task, but one concerns is that the complain could be dismissed by having invalid fields (not sure how likely this dismissal but I could imagine a scenario where there is a big inflow of complains and this complains could be dismissed on a triage)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.