You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For now, an upload field selected file is sent to the server at the change event of the file input. I have been informed that it's not GDPR-compliant, as the user is not well-informed its file has been uploaded.
The final goal is to customize the uploaded file destination and ensure the file is uploaded when the user submits the form and not on input change.
Proposed solution
I think the file should be uploaded at form submission, and not at change event. At least, the apostrophe file field widget should give the ability to customize the file submission to allow custom file handling and validating on server-side.
Alternatives
I already have considered creating a new widget extending the apostrophe-base-field-widgets with a custom file handling system but I cannot make it work properly as it's not possible to set enctype as multipart/form-data on an apostrophe form.
Additional context
Apostrophe version : 2.103.1
Apostrophe Forms version : 1.7.0
The text was updated successfully, but these errors were encountered:
Hi Michael,
The downside of what you are suggesting is that the user must wait for the
entire file upload when they click submit, rather than benefiting from the
fact that much or all of the file might transfer while they are completing
the rest of the form. In some applications this can be significant.
I am wondering how the determination was made that this is not GDPR
compliant. If the user clicks a browse button to pick a file or drags a
file, it seems to me that the only reason they could possibly do that is
because they intend to let the website have it. What rule is it violating?
I'm wondering if there is another GDPR-compliant way to address this.
On Mon, Jul 20, 2020 at 6:56 PM Michael Chacaton ***@***.***> wrote:
The problem to solve
For now, an upload field selected file is sent to the server at the change
event of the file input. I have been informed that it's not GDPR-compliant,
as the user is not well-informed its file has been uploaded.
The final goal is to customize the uploaded file destination and ensure
the file is uploaded when the user submits the form and not on input change.
Proposed solution
I think the file should be uploaded at form submission, and not at change
event. At least, the apostrophe file field widget should give the ability
to customize the file submission to allow custom file handling and
validating on server-side.
Alternatives
I already have considered creating a new widget extending the
apostrophe-base-field-widgets with a custom file handling system but I
cannot make it work properly as it's not possible to set enctype as
multipart/form-data on an apostrophe form.
Additional context
Apostrophe version : 2.103.1
Apostrophe Forms version : 1.7.0
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#139>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAH27J4KXUI7B6QZLFFQGDR4TDQ7ANCNFSM4PC4H5KA>
.
The problem to solve
For now, an upload field selected file is sent to the server at the
change
event of the file input. I have been informed that it's not GDPR-compliant, as the user is not well-informed its file has been uploaded.The final goal is to customize the uploaded file destination and ensure the file is uploaded when the user submits the form and not on input change.
Proposed solution
I think the file should be uploaded at form submission, and not at change event. At least, the apostrophe file field widget should give the ability to customize the file submission to allow custom file handling and validating on server-side.
Alternatives
I already have considered creating a new widget extending the
apostrophe-base-field-widgets
with a custom file handling system but I cannot make it work properly as it's not possible to setenctype
asmultipart/form-data
on an apostrophe form.Additional context
Apostrophe version :
2.103.1
Apostrophe Forms version :
1.7.0
The text was updated successfully, but these errors were encountered: