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

Adobe Acrobat is not displaying field values when document contains XFA

New Here ,
Jan 02, 2025 Jan 02, 2025

Adobe Acrobat does not display field values when the document contains XFA. The field values of the attached document are successfully shown in Firefox and Chrome.

TOPICS
PDF , PDF forms
548
Translate
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
1 ACCEPTED SOLUTION
Advocate ,
Jan 02, 2025 Jan 02, 2025
LATEST

You have a PDF with a hybrid form definition, it contains both an AcroForm form definition and a XFA form definition. This is meant to allow XFA aware viewers to display a form based on the (more flexible) XFA definition while XFA non-aware viewers can still display the (native PDF) AcroForm form. 

In your case the third party library appears to have filled in the AcroForm field but not the XFA field. As a consequence XFA aware viewers will not show the values but others will.

View solution in original post

Translate
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
Community Expert ,
Jan 02, 2025 Jan 02, 2025

How have you filled the form?

Translate
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 ,
Jan 02, 2025 Jan 02, 2025

Using a third-party library - Telerik`s RadPdfProcessing library. I just examined the document and it seems it is following the PDF specification in the part of the writing of the Interactive form dictionary and especially the "Fields" collection.

2 0 obj
<< /DR << /Font << /F7 6 0 R /F8 7 0 R >> >> /Fields [ 8 0 R 9 0 R 10 0 R 11 0 R 12 0 R 13 0 R 14 0 R 15 0 R 16 0 R 17 0 R 18 0 R 19 0 R 20 0 R 21 0 R 22 0 R 23 0 R 24 0 R 25 0 R 26 0 R 27 0 R 28 0 R 29 0 R 30 0 R ] /XFA [ (preamble) 31 0 R (config) 32 0 R (template) 33 0 R (datasets) 34 0 R (localeSet) 35 0 R (xmpmeta) 36 0 R (form) 37 0 R (postamble) 38 0 R ] >>
endobj

If I remove the XMA part, the fields' values can be seen in Acrobat. It seems the issue comes from the combination of XFA and AcroForms, but I cannot find what ruins it.

On the other hand, if I make field changes using Adobe Acrobat the document seems to be displayed correctly. I am attaching the document I updated with Adobe Acrobat.

My goal is to understand where the issue comes from and why it is not reproducing in browsers but only in Adobe Acrobat.

Translate
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
Advocate ,
Jan 02, 2025 Jan 02, 2025
LATEST

You have a PDF with a hybrid form definition, it contains both an AcroForm form definition and a XFA form definition. This is meant to allow XFA aware viewers to display a form based on the (more flexible) XFA definition while XFA non-aware viewers can still display the (native PDF) AcroForm form. 

In your case the third party library appears to have filled in the AcroForm field but not the XFA field. As a consequence XFA aware viewers will not show the values but others will.

Translate
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
Community Expert ,
Jan 02, 2025 Jan 02, 2025

Use the original W-9 form and fill it with Adobe Acrobat or Acrobat Reader.

Translate
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