Copy link to clipboard
Copied
We are attempting to migrate from <cfdocument> to <cfhtmltopdf> for completing and saving static documents & forms, mostly for the "pixel perfect html" and ability to use css classes.
We have a function that generates an html screen, including a form that a user fills in. Upon submitting, we write the same html to a pdf. This has always worked okay in <cfdocument>, but our input elements are now coming in as if they have empty strings as values, rather than the actual form value that was submitted, at least until we click on the input, then the value shows up - until we click elsewhere in the document.
Here's what it looks like upon opening in Adobe Acrobat Pro:
And when I've clicked on a field:
And when I've clicked on another field (the first value disappeared):
Is there a setting or permission somewhere that I'm missing to have these input fields display their values correctly?
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now