Skip to content

New US SSN component #6927

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

Open
ebruchez opened this issue Apr 4, 2025 · 6 comments
Open

New US SSN component #6927

ebruchez opened this issue Apr 4, 2025 · 6 comments

Comments

@ebruchez
Copy link
Collaborator

ebruchez commented Apr 4, 2025

This is useful for many forms. Needs #3298.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 4, 2025

The storage should probably be as follows:

  • use dashes: XX-XXX-XXXX
  • make it an xf:string or xs:string
  • can we enforce encryption at rest?

This is a sensitive field, so it is best used for:

  • forms which do not save data to the database, such as directly produce a downloadable PDF
  • forms which encrypt data at rest when it is sensitive

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 4, 2025

  • consider hiding field value by default when tabbing out
    • could we just have a wrapper to do that, reusable as an appearance?
  • add to "All Form Controls" demo form
  • update W-9 form
  • doc
    • component
    • mention encryption at rest

@acspike
Copy link
Contributor

acspike commented Apr 5, 2025

    • consider hiding field value by default when tabbing out

We’ve been looking for this feature! It may be helpful for some applications to obscure all but the last 4 digits. Also helpful if the it was possible to give different levels of access/visibility to users other than the creator of the form.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 11, 2025

  • fix automatic PDF output (same as EIN):
Image

@ebruchez
Copy link
Collaborator Author

@acspike I am not sure what it takes to show only part of the field. What we have seen are fields that are confidential by default (like a password) but with a "Show"/"Hide" or "Reveal"/"Conceal" icon to toggle the value.

@ebruchez
Copy link
Collaborator Author

ebruchez commented Apr 24, 2025

  • fix view appearance
Image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In progress
Status: No status
Development

No branches or pull requests

2 participants