Hi there,
I'm using cfpdfform to read values from an uploaded PDF form created in Adobe Livecycle and then filled in using Adobe acrobat Acrobat.
To read the form values I use the command:
<cfpdfform source="#pathToNewPDFFile#" action="read" xmlData="xmlFields" />
But if a PDF without a form in is uploaded (i.e some other PDF) coldfusion errors with the following:
The source PDF document is not an interactive form.
Is there any way I can test for the presence of a form in a PDF in coldfusion without needing to catch and interpret this error?
I've tried cfpdf action="pdfinfo", but none of the variables appear to change between an interactive and non interactive form.
Thanks,
Tom