Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

<cfhtmltopdf> input fields are blank after submitting form from HTML

New Here ,
Nov 13, 2023 Nov 13, 2023

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:

richatvista_0-1699903326805.png

And when I've clicked on a field:

richatvista_1-1699903361356.png

And when I've clicked on another field (the first value disappeared):

richatvista_2-1699903464271.png

 

Is there a setting or permission somewhere that I'm missing to have these input fields display their values correctly?

 

79
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
no replies

Have something to add?

Join the conversation
Resources