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

Encrypt form fields by default #1843

Open
joelzerner opened this issue Apr 24, 2024 · 5 comments
Open

Encrypt form fields by default #1843

joelzerner opened this issue Apr 24, 2024 · 5 comments

Comments

@joelzerner
Copy link

What are you trying to do?

Encrypt all form fields by default.

What's your proposed solution?

Interested in exploring if a there's the possibility of a new setting which could enable form field encryption by default so there isn't a need to manually switch it on each time and removes the possibility of forgetting.

Additional context

No response

@engram-design
Copy link
Member

This will be included in the Field Defaults feature!

@joelzerner
Copy link
Author

Cool, sounds good. Keen to see how this works. Will this be a global field default (ie. one option impacts all fields) or individual field default (ie. change setting for each field)?

@engram-design
Copy link
Member

Haven't finalised the interface, but it'll be a section in Formie's settings where you can select the field and setup defaults for new fields of that type. The settings interface will be identical to as if you were editing the field in a form.

We'll also want to provide an option to "force" the settings you define on every instance of that field type across your forms. This would be handy for the situation where you might have 50 forms, and decide you want to enable a setting like field encryption that would otherwise take an age to update every field manually.

@joelzerner
Copy link
Author

Good thinking there. Some more "out loud" thinking here: will that cater for an example where you have multiple forms, all with a number of fields, and you want to retrospectively assign all fields in all forms to encrypted? Or if not retrospectively, could there simply be a "force" setting for all fields to be encrypted - or maybe that's like a batch edit of all the field settings? Not sure where the use-case fits for these vs complexity of development however I feel like users would most likely want either turn on encryption for everything or not, can't see too much reason for picking and choosing which fields are encrypted?

@engram-design
Copy link
Member

The encryption settings might be their own thing entirely for this use-case, as you describe - not yet fully planned out!

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

No branches or pull requests

2 participants