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

Wrong behaviour with checkboxes sharing a common name #14024

Closed
calixteman opened this issue Sep 15, 2021 · 0 comments · Fixed by #14027
Closed

Wrong behaviour with checkboxes sharing a common name #14024

calixteman opened this issue Sep 15, 2021 · 0 comments · Fixed by #14027
Assignees

Comments

@calixteman
Copy link
Contributor

I created a pdf for #14023:
same_fields(1).pdf
The 3 checkboxes have the same name (Check Box2) and have the same values (Off and Yes).
In pdf.js, these checkboxes behave like radio buttons in the same group (which is wrong) because of:
1fcffe8
Since they've the same values they must be synced: if one is checked (resp. unchecked) then all others are checked (resp. unchecked).

@calixteman calixteman self-assigned this Sep 15, 2021
calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 15, 2021
…in unison

  - it aims to fix mozilla#14024.
  - this patch adds an attribute `acroformExportValue` to the HTML input in order to set the checked attribute in taking into account the exportValue for the checkboxes with the same name.
calixteman added a commit to calixteman/pdf.js that referenced this issue Sep 15, 2021
…in unison

  - it aims to fix mozilla#14024.
  - this patch adds an attribute `acroformExportValue` to the HTML input in order to set the checked attribute in taking into account the exportValue for the checkboxes with the same name.
bh213 pushed a commit to bh213/pdf.js that referenced this issue Jun 3, 2022
…in unison

  - it aims to fix mozilla#14024.
  - this patch adds an attribute `acroformExportValue` to the HTML input in order to set the checked attribute in taking into account the exportValue for the checkboxes with the same name.
rousek pushed a commit to signosoft/pdf.js that referenced this issue Aug 10, 2022
…in unison

  - it aims to fix mozilla#14024.
  - this patch adds an attribute `acroformExportValue` to the HTML input in order to set the checked attribute in taking into account the exportValue for the checkboxes with the same name.
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.

1 participant