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

cfpdfform cannor read PDF

New Here ,
Sep 27, 2012 Sep 27, 2012

Copy link to clipboard

Copied

Hi have a pdf with some formfields:

http://www.direct-jobs.ch/abm.pdf

(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.

TOPICS
Advanced techniques

Views

715

Translate

Translate

Report

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
New Here ,
Dec 29, 2017 Dec 29, 2017

Copy link to clipboard

Copied

LATEST

Try removing the result and using the xmldata="x" inside the cfpdfform instead.

Votes

Translate

Translate

Report

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
Resources
Documentation