Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rendering AcroForm Field Names #10618

Closed
joshuahutchison opened this issue Mar 5, 2019 · 3 comments · Fixed by #11853
Closed

Rendering AcroForm Field Names #10618

joshuahutchison opened this issue Mar 5, 2019 · 3 comments · Fixed by #11853

Comments

@joshuahutchison
Copy link

joshuahutchison commented Mar 5, 2019

When I render an Acroform, everything seems fine until I inspect and see no field names being rendered. I thought perhaps it was my implementation, so I loaded the example as is and noticed field names aren't rendering in the HTML there either.

After looking through several of these issues, I've seen plenty of language indicating field name rendering works. What am I missing?

Using v2.0.943

@Snuffleupagus
Copy link
Collaborator

Please provide all of the information requested in https://github.com/mozilla/pdf.js/blob/master/.github/ISSUE_TEMPLATE.md when opening an issue, as is this will be closed as incomplete.

@joshuahutchison
Copy link
Author

joshuahutchison commented Mar 5, 2019

Attach (recommended) or Link to PDF file here:
https://web.archive.org/web/20110918100215/http://www.irs.gov/pub/irs-pdf/f1040.pdf

Configuration:

Web browser and its version:

Chrome Version 72.0.3626.121 (Official Build) (64-bit)

Operating system and its version:

Windows 10 (Version 1709 - OS Build 16299.125)

PDF.js version:

v2.0.943

Is a browser extension:

No. Running from a web application. 

Steps to reproduce the problem:

1. Load your acroform example: https://github.com/mozilla/pdf.js/tree/master/examples/acroforms.
2. Inspect rendered HTML input.

What is the expected behavior?

The expected behavior is that the fieldName assigned to the field in the pdf will render as an 
input name attribute in HTML.

What went wrong?

The field names were not rendered as input name attributes in HTML

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

N/A. Running in local dev environment.

@Nilanth
Copy link

Nilanth commented Aug 26, 2020

@timvandermeij Still I face this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants