Mandatory file upload is not returning data

Hi there,

I have a file upload field called ‘FileUpload’ in a form called ‘Dover Group Activities Recording’ which is mandatory. Despite this, in many of the result submissions this field is returning empty. I have also been given feedback from users that this field is empty when they go back to the submission, despite them having submitted jpg photos in the field. Please could you assist?

This problem is also occurring in the other forms I have with the suffix ‘Group Activities Recording’ (the FileUpload field is linked).

Many thanks,

Anna

Hi anna,
Can you try to upload and see if there are any error on the network or console in the browser?

Hi Kenny,

I did this and there were no errors on the console in the browser.

Hi annagraham,

Its possible that the form was submitted even the upload was still ongoing or so. What I can advise is to add a rule that disables the button until the upload is complete and has contents.

Hi @annagraham,

Can you try this.

Hi @Kenny,

Thank you for your help. I have tried this and will let you know once I have feedback.

1 Like

Hi @Kenny

The problem is still persisting. Grateful if you have another possible solution?

Hi @annagraham, Can you add what I suggested on the step where the upload file is?

@annagraham Jumping in here - i believe the issue is that we dont currently force the user to wait on step submission until the file finishes loading. This is for performance reasons, and we warn the user they have data that’s unsaved if they try to leave before the file finishes uploading. However, it’s possible for them to still force their way out right now. We could add a toggle to allow you to force the user to wait on that step until the file upload finishes. This will impact UX but guarantee file gets saved before the user can progress. Is this something you’re interested in exploring?

Hi @Kenny, Yes, I’ve added this to the step with the file upload and will monitor for whether this solves it.

Hi @peter, thank you for this suggestion. Yes, this would be something we could be open to. I will wait a day or two to see if @Kenny 's suggestion works and get back to you if not.