1 Reply Latest reply on Dec 29, 2017 9:02 AM by dave_swain

    cfpdfform cannor read PDF

    fstocker1 Level 1

      Hi have a pdf with some formfields:



      (official form from swiss authorities)


      and i want to automatically fill it out with cfpdfform.


      However when I try to read it using


       <cfpdfform source="/tmp/abm.pdf" result="resultStruct" action="read"/><cfdump var="#resultStruct#">


      I get an CF-Error message


      Either datafile XML or data XML contained in the PDF document is invalid.


      however reading the form with acrobat reader works perfectly fine.


      Any ideas how I can get this to works?


      I suppose it has something to do with the version of acrobat the form was generated with, but thats just a guess.