Open jgold723 opened 5 years ago
I agree, this would be really useful I've often thought the same. At this point there isn't any way to prevent it but you can make it a little clearer by adding comments to the field about the field size.
What type of form do you have? API / direct submission / Form Builder form?
But really, like you said, it needs to be handled in the code to prevent them continuing.
Hi Ben:
It’s a direct submission form.
I did find some very basic Javascript that will at least issue a warning about large file sizes, so I’ll put that in my form for now.
John
On Aug 27, 2019, at 11:04 PM, Ben Keen notifications@github.com wrote:
I agree, this would be really useful I've often thought the same. At this point there isn't any way to prevent it but you can make it a little clearer by adding comments to the field about the field size.
What type of form do you have? API / direct submission / Form Builder form?
But really, like you said, it needs to be handled in the code to prevent them continuing.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/formtools/core/issues/598?email_source=notifications&email_token=AC6XD5QVSJOYFHCE7TOPTP3QGXTLZA5CNFSM4IOLZDVKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5JXUYA#issuecomment-525564512, or mute the thread https://github.com/notifications/unsubscribe-auth/AC6XD5WFCT23D5M6VRQZMA3QGXTLZANCNFSM4IOLZDVA.
Custom Communications, Inc. 7 Pilgrim Lane Saco, ME 04072 207-771-5510
I see how I can limit the size of file uploads, but this doesn't generate any feedback/warning to the user. I find users will attach a large image to an external form, submit it and then go on their merry way when the submission completes (but without the image). Worse, I have no idea when I'm looking at the submission that they had intended to upload an image.
Is there a way to warn them of the limit or stop the submission if their attached image is too large?
Or, even better, a module that would downsize the image?