23

I need to fill up a pdf with XFA forms. Okular says that or does not support XFA forms.

Xreader displays the following message and asks to install Adobe Reader.

If this message is not eventually replaced by the proper contents of the document, your PDF
viewer may not be able to display this type of document.

Is there pdf reader (not a pdf editor which actually draws on the document) in Ubuntu that supports XFA forms?

This is not a duplicate of Is there software that can fill PDF forms? because answers in that question do not address XFA forms (as mentioned in some comments).

3
  • Does this answer your question? How to open a PDF form file that says Please wait...? Nov 10, 2020 at 11:30
  • 1
    @RobieBasak I don't think this is duplicate of that. While that is related to XFA forms, the question does not directly address that. It may be harder to find it (because the warning - "use latest version of Adobe Reader to open this PDF" has changed, and the content of the warning also depends on the pdf viewer) Nov 10, 2020 at 12:28
  • 1
    The root cause is the same for both questions though. The set of correct answers would be exactly the same. So it would serve the community to mark the duplicate, because then the answers could be collated together, and both of the questions would serve as signposts to those same answers. Nov 10, 2020 at 12:56

2 Answers 2

25

Non Free software

I was searching for the same thing and came across this answer at Stack Exchange:

The accepted answer to download and install Master PDF editor worked for me.

Free Software

Support for XFA forms was recently implemented in mozilla/pdf.js. It would be available in Firefox 91 onwards.


This part of the answer was written before Firefox 91 was released.

  1. Download the latest Firefox Nightly appimage.
  2. Open about:config and set pdfjs.enableXfa preference to true.
5
  • Sad to see that so far no free software supports it. I have reopened this bug report in Okular. bugs.kde.org/show_bug.cgi?id=263042 Nov 5, 2019 at 19:51
  • Comment #9 at that bug report states that XFA forms are deprecated in PDF 2.0. If that's right, maybe (hopefully!) the need for this workaround will disappear.
    – Al F
    Nov 5, 2019 at 23:58
  • Yes, pdf 2.0 it was released in 2017. I will still take a long time to be widely used. Latex produces pdf 1.5 by default. Let's see what happens. Nov 6, 2019 at 7:56
  • The method is probably as follows under Linux as under Windows: 1 edit by M.PDF E. (Linux) or Tools like "PDF-XChange Editor", then 2. send to a PDF printer. With 2. I'm having problems here on Linux.
    – SL5net
    Jul 1, 2020 at 19:59
  • Thank you so much! I would still be rebooting into windows to fill in and sign pdfs. Would prefer access to my adobe signature, but can't have it all I guess.
    – Josh C
    Oct 19, 2023 at 18:47
0

I think Document Viewer can edit XFA Forms. I'm not sure if it's pre-installed on Ubuntu, but it was preinstalled for me on Fedora Silverblue.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .