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

PDF Form returns "String index out of range" AND "Premature end of file"

New Here ,
Mar 25, 2013 Mar 25, 2013

Copy link to clipboard

Copied

Hello

After creating a new form in Adobe LiveCycle ES2 from a blank template, ColdFusion 10 returns errors. When tring to perform a cfpdfform action=read on the pdf form, Coldfusion returns "String out of range". Using the same document, tring to pre-load the form fields in the PDF using the cfpdfform action=populate, I get the message from CF10 "Premature end of file". I'm not sure why this is happening. I have added the attribute overwrite="yes" as per a bug in version 8, but no luck. I have tried using a different PDF created from a template in ES2 with no luck. I can dump the values returned to CF from the PDF I created form using cfdump tag. I've even tried the sub-form attributes. I think there may be an issue reading the PDF form attributes from the source document, but I cannot verify as CF returns the error message. Any suggestions would be helpful.

Thanks, JK

Views

623

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 ,
Mar 26, 2013 Mar 26, 2013

Copy link to clipboard

Copied

LATEST

It turns out that if I create a new PDF form in Acrobat X (10) Pro, everything seems to work. I'm guessing there is some sort of issue with LiveCycle ES2.

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