Filling out PDF form with variable values (image attached)

I have searched extensively, but can’t find an answer. Any direction at all would be helpful!

I’m producing an app to help with a complicated medical exam. At the end, I would like to fill a standardized document (below) with values from saved variables. I’m trying to figure out a way to fill the document, but am struggling.

If I use labels over top of the PDF, they may change position relative to the underlying PDF depending on screen ratio or phone orientation (landscape vs portrait), and I’m not sure if I’d then be able to save that screen as an image for later use.

Has this type of problem been addressed somewhere that I haven’t been able to find? Thanks in advance!

This probably isn’t the answer you’re looking for but why not use a fillable pdf, created in Acrobat? Adobe have a whole data gathering system as part of Acrobat.
https://helpx.adobe.com/acrobat/using/pdf-forms.html?mv=product&mv2=acrobat#track-collect-data
https://helpx.adobe.com/acrobat/using/collecting-pdf-form-data.html

I’d imagine the alternative is to build an app that works back from the questions and answers you need to the structure of the app, not simply input fields placed on top of the pdf.

Or to create a webform as outlined (very briefly) here:
https://helpx.adobe.com/acrobat/using/publishing-interactive-pdf-web-forms.html
Maybe that could be incorporated into a Thunkable app?

1 Like

Have you checked out this or similar services?

1 Like

Thank you! I think I didn’t express correctly what I’m trying to do. The user records data via the app, and then I have a Local DB full of variables/data. I’d like to display all of that data on the PDF in the image above, as if one had filled it out by hand. It’s often necessary to keep this form in the medical record.

Again, thank you for your help!

Thank you so much! I looked through their website, and it looks like a great data gathering tool. I think I wasn’t sufficiently clear with my problem- I’ve tried again above. Again, thank you for your help!

No worries - looks like @jared’s solution is a good one. Will be adding that to my own arsenal. Best of luck with the project.

2 Likes

Bumping this. If anyone is aware of a mechanism whereby I can export data to the PDF form above, I’m all ears! Thanks in advance!

I am usually using pdf sites when I need to make a pdf form by myself, it’s easier. I have understood your problem, but I don’t think that it will be possible to make possible what you want to do, at least I don’t know how to do it. I think that you must use this site https://pdfliner.com/how-to/how-to-compress-a-pdf, and see if they can help you or not. They helped me when I needed to arrange the information on my site and make it look more pretty and show primary only the most important information. Maybe they will help you to find the answer to your problem and make your idea come true.

1 Like