Coldfusion can't read IRS pdf form

78 Views Asked by At

Trying to first dump the fields, so that I can later populate the form after having known the field names. Error says "Either datafile XML or data XML contained in the PDF document is invalid. "

<cfpdfform source="https://www.irs.gov/pub/irs-pdf/f941.pdf" action="read" result="result" />

<cfoutput>
    <cfdump var="#result#" />
</cfoutput>

Demo

Same code works for this file https://www.flhsmv.gov/pdf/forms/82040.pdf

0

There are 0 best solutions below