Interactive form (AcroForm) support
See original GitHub issueThis is a tracking issue only, so this is not the place for any other questions or discussions. Open a new issue for that.
This is a meta issue for interactive form (AcroForm) support according to Chapter 12.7 of the PDF reference (http://www.adobe.com/content/dam/Adobe/en/devnet/acrobat/pdfs/PDF32000_2008.pdf#G11.2110737). This includes all form elements except for signature fields, which are tracked in #1076. The objective is to get https://github.com/mozilla/pdf.js/blob/master/test/pdfs/f1040.pdf.link to render completely, but also to resolve other open issues and PRs.
General
- Prepare core and display layer for implementing form elements (#7596)
- Reference testing (#7602)
- Preference (#7602)
- Remove global
PDFJS.renderInteractiveForms
usage (#7640) - Refactor field name construction code in
WidgetAnnotation
(#7775) - Refactor or clarify where annotations are rendered
- Mostly in the display layer, but text widget annotations with appearance streams are rendered in the core layer, which causes confusion…
- Appearances
- Storing entered values for when the page is destroyed when it is not visible
- Printing entered values
- Either print the HTML elements or render the contents onto the canvas (use
appendToOperatorList
)
- Either print the HTML elements or render the contents onto the canvas (use
- Enable by default
- Update the example (#8030)
- Add Firefox pref to enable/disable forms (https://bugzilla.mozilla.org/show_bug.cgi?id=1652145)
Text widgets
- Rendering of single-line fields (#7602)
- Handle maximum length (#7622)
- Handle flags: multiline and read-only (#7633)
- Handle flags: comb (#7649)
- Handle justification (#7622)
- Sanitize
maxLen
andtextAlignment
in the core layer and unit tests for this (#7629)
Choice widgets
- Rendering of combo boxes (#7671)
- Rendering of list boxes (#7671)
Button widgets
- Rendering of pushbuttons (#9191)
- Rendering of checkboxes (#7898)
- Rendering of radio buttons (#7898)
Issue Analytics
- State:
- Created 7 years ago
- Reactions:107
- Comments:28 (13 by maintainers)
Top Results From Across the Web
Publishing interactive PDF web forms - Adobe Support
Learn how to publish interactive PDF web forms using Acrobat. About web forms. PDF forms can be useful for submitting and collecting information ......
Read more >How to extract AcroForm interactive form fields from a PDF ...
How to extract AcroForm interactive form fields from a PDF using PDFMiner¶ ... Only AcroForm interactive forms are supported, XFA forms are not...
Read more >Creating Interactive Forms From AcroForms and Raster Forms
Using AcroForms for Fillable PDF Forms. According to Adobe, an AcroForm is “a flat PDF form that has some additional elements—the interactive ......
Read more >Interactive Forms - HexaPDF
XFA forms need much more functionality in a PDF reader application than AcroForm forms. Due to this support for XFA forms is only...
Read more >Implementing form filling and accessibility in the Firefox PDF ...
Filling Forms (AcroForms). AcroForms are one of two types of forms that PDF supports, the most common type of form. AcroForm structure.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is a tracking issue (refer to https://github.com/mozilla/pdf.js/issues/7613#issuecomment-251895091), so this is not the place for discussion or questions. Contact us on IRC in case of questions or file a separate issue if you found a bug. Thanks.
(I’m unlocking the conversation to be able to let users use the reaction button to measure the interest for this feature, but irrelevant comments will be removed.)
Closing since AcroForm support is now done and enabled. The remaining issues are now filed in individual issues and collected with the
4-form-acroform
tag; see https://github.com/mozilla/pdf.js/labels/4-form-acroform.