Data loss: not all signature images are uploaded in offline-capable forms
See original GitHub issueDescription
This is an intermittent bug that results in a loss of signature images.
If a form includes multiple image questions, at least one of which is appearance: signature, and the form is running in offline mode, it is likely that one or more of the signature image files get lost in the submission process.
To Reproduce
When running a form like this in offline mode:
| type | name | label | appearance |
|---|---|---|---|
| start | start | ||
| end | end | ||
| image | sign_now | sign now! | signature |
| image | sign_again | sign again! | signature |
The first or second signature image is likely to be missing, for each submission.
other factors:
- must use offline version of form to reproduce bug
- happens on 2.5.6 and 2.8.1 (about to test on 3.0.1)
- tried to sign both fields as quickly as possible
- having a non-signature appearance image in the form can also “crowd out” the signature file but regular images do not crowd each other out based on our testing so far.
Expected behavior Desired behavior is that no attachments are missing upon submission.
Browser and OS
- OS: Issue has been reproduced on macos and Linux.
- Browser: Issue has been reproduced in Chrome and Safari.
Additional context
I’m looking into this now, so I can add screenshots or improved description soon.
Issue Analytics
- State:
- Created 2 years ago
- Comments:14 (14 by maintainers)
Top Results From Across the Web
Could not retrieve signature - KoboToolbox Community Forum
We have developed a form that containing a signature. ... Data loss: not all signature images are uploaded in offline-capable forms.
Read more >How to fix common image-related problems in signatures
You experience various problems with images in email signatures, e.g. embedded pictures are not displayed in received emails, are misplaced ...
Read more >Understand Accessing Forms Offline from Mobile Devices ...
The mobile app caches all the forms a user accesses from their device, ... User submits data through the offline-capable forms cached in...
Read more >Collecting Offline App Responses - Qualtrics
Remove Responses: Permanently delete all offline responses from the current survey. Responses that have already been uploaded to Qualtrics will not be ...
Read more >Solved: Signatures disappear while using the inbox feature...
Only the first signature(image) is saved to the data when initially ... Is there a way to ensure that all of the signature...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Thanks for reporting this! I’m looking into it. I’ve been able to reproduce this in the current version, and I think I understand what’s happening.
@joshuaberetta, after you mentioned that you were still seeing this bug on 3.1.0, I reproduced it as well (with a mouse, this time, not a touchscreen) and recorded a screencast: https://user-images.githubusercontent.com/2085013/165527413-64184ccf-e7b1-44d6-919c-77fc6e74686e.mp4
I think we should test on 3.1.1 just to make sure it’s still broken there, and then also test the earliest release that included #373 to see whether this problem is a regression or just something I missed by not testing thoroughly enough during my review.
After that, let’s reopen this issue if needed.