updates to web forms submission#2292
Conversation
for more information, see https://pre-commit.ci
|
I should caveat this by saying two things:
getting http://api.fmtm.localhost:7050/submission/uuid:.../photos?project_id=1 will throw a 500 error or return an empty dictionary. My hunch is that I need to update my .env file since the recent changes to S3 and file upload image management. Or I'm supposed to be passing something other than filename inside the |
…nto webforms-2025-03-23
|
I fixed the iframe rendering by setting stepperLayout to true and the iframe height to 100% instead of an absolute value. |
|
I'm moving back to draft because I think the stepper layout might skip over the unsupported image upload node, which I overrode. |
You can download the images directly from the ODK Central UI as a test. http://odk.fmtm.localhost:7050 Then login, go to the project, form, submissions table, then download all the data as a zip. You should see the images included hopefully. You are right the FMTM 500 error is likely due due not having the S3 vars set |
|
I got a fix to the stepper issue here: hotosm/web-forms#3. We can mark this ready for review, once that PR is merged. |
|
How's it going with this PR? |
|
Looks like there's some merge conflicts in this PR. hotosm/web-forms#4 I'll resolve those and merge the web-forms PR to fmtm branch. We should then be ready for review here. |

What type of PR is this? (check all applicable)
Related Issue
Improves web forms submission.
Describe this PR
Screenshots
Alternative Approaches Considered
Considered adding this functionality to the getodk/web-forms fork, but I think that it would be more difficult to maintain (although that's debatable).
Review Guide
Notes for the reviewer. How to test this change?
Checklist before requesting a review
[optional] What gif best describes this PR or how it makes you feel?