1

I'm able to click a pdf form's field, input into the minibuffer and finish with C-c C-c yet I don't see that input in the pdf after doing nor after saving and re-opening the pdf.

Am I missing something in the upper steps?

2
  • I couldn't find any mention of fillable forms in any pdf-tools doc I could find (and as @dalanicolai's answer mentions, there is apparently no such support currently), so my question was: were you just guessing that you could do that or did you find some information about it somewhere? If so, where?
    – NickD
    Dec 23, 2022 at 13:16
  • Guessing indeed
    – jjk
    Dec 23, 2022 at 14:33

1 Answer 1

2

PDF-tools uses the epdfinfo server which uses the poppler library for handling the pdf's. That server does not support forms.

You can click the form fields because they are interpreted as annotations (try M-: (pdf-annot-getannots) of the type 'widget', and therefore you can add contents to those annotations.

If you add 'widget' to pdf-annot-list-listed-types as follows: (add-to-list 'pdf-annot-list-listed-types 'widget), then they will also get listed when doing M-x pdf-annot-list-annotations.

Poppler is able to handle forms, so for someone who knows C well, it probably should not be too hard to extend the epdfinfo server with forms support. But, because of the many good free alternatives, I guess it has no priority at all.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.