Skip to content

Add support for ResetForm action #12721

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

Closed
calixteman opened this issue Dec 10, 2020 · 2 comments · Fixed by #14083
Closed

Add support for ResetForm action #12721

calixteman opened this issue Dec 10, 2020 · 2 comments · Fixed by #14083

Comments

@calixteman
Copy link
Contributor

The spec for this action:
https://www.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/PDF32000_2008.pdf#G11.2111850
An example of a form using this action:
https://www2.illinois.gov/rev/forms/reg/Documents/reg-1-mr.pdf

@calixteman
Copy link
Contributor Author

Another test case (Cancella Dati button):
15ddb282-dd10-47b7-ad91-7d9b99a4b982_filled.pdf

@marco-c
Copy link
Contributor

marco-c commented Sep 15, 2021

The "Reset" button in the first form of this issue (https://web.archive.org/web/20201016170601/https://www2.illinois.gov/rev/forms/reg/Documents/reg-1-mr.pdf) is actually clickable and it works when the PDF is loaded from https. It doesn't work when the PDF is saved and then opened from the disk.

The "Cancella Dati" button in the second form of his issue actually isn't clickable at all.

Maybe they are actually two different issues?

calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 26, 2021
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 27, 2021
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 28, 2021
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 30, 2021
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
bh213 pushed a commit to bh213/pdf.js that referenced this issue Jun 3, 2022
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
rousek pushed a commit to signosoft/pdf.js that referenced this issue Aug 10, 2022
  - it aims to fix mozilla#12721.
  - Thanks to PR mozilla#14023, we've now the fieldObjects in the annotation layer so we can easily map fields names on their id if needed.
  - Reset values in the storage, in the JS sandbox and in the visible html elements.
@marco-c marco-c moved this to Closed in PDF.js quality Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

3 participants