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

STUB -- [Eng] Update validation language for SSN input #461

Open
nichole-aquino opened this issue Jan 23, 2025 · 0 comments
Open

STUB -- [Eng] Update validation language for SSN input #461

nichole-aquino opened this issue Jan 23, 2025 · 0 comments

Comments

@nichole-aquino
Copy link

nichole-aquino commented Jan 23, 2025

Design ticket (WIP): #389

The error messages aim to describe what went wrong, and where, in plain language. The error UI also is updated to reflect USWDS styles.

Error type: Invalid set of digits in all locations.
Error message: Social Security Number must have a valid set of digits at the beginning (not 9, 666, or 000), a valid set of digits in the middle (not 00), and a valid set of digits at the end (not 0000).
Image

Error type: Invalid set of digits at the beginning.
Error message: Social Security Number must have a valid set of digits at the beginning (not 9, 666, or 000).

Image

Error type: Invalid set of digits in the middle.
Error message: Social Security Number must have a valid set of digits in the middle (not 00).
Image

Error type: Invalid set of digits at the end.
Error message: Social Security Number must have a valid set of digits at the end (not 0000).
Image

Error type: Invalid set of digits in the middle and end.
Error message: Social Security Number must have a valid set of digits in the middle (not 00), and a valid set of digits at the end (not 0000).
Image

Error type: Invalid amount of digits.
Error message: Social Security Number must have exactly 9 digits.
Image

AC
The changes should apply to the following error types:

  • Invalid set of digits in all locations.
  • Invalid set of digits at the beginning.
  • Invalid set of digits in the middle.
  • Invalid set of digits at the end.
  • Invalid set of digits in the middle and end.
  • Invalid amount of digits.
@nichole-aquino nichole-aquino added story User story and removed story User story labels Jan 23, 2025
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

No branches or pull requests

1 participant