Improve acro checkbox set value
Can set value when checkbox as multiple widget
What?
Actually, unable to set value for a checkbox that as multiple widgets
Why?
Can not fill my pdf because of that
How?
iterate over all available widget to get all possible response
Testing?
Works for my use case
New Dependencies?Nope
Screenshots
Example where a checkbox here is represented by multiple widgets
Suggested Reading?
YES
Anything Else?
Nope
Checklist
- [X] I read CONTRIBUTING.md.
- [X] I read MAINTAINERSHIP.md#pull-requests.
- [ ] I added/updated unit tests for my changes.
- [ ] I added/updated integration tests for my changes.
- [X] I ran the integration tests.
- [X] I tested my changes in Node, Deno, and the browser.
- [X] I viewed documents produced with my changes in Adobe Acrobat, Foxit Reader, Firefox, and Chrome.
- [ ] I added/updated doc comments for any new/modified public APIs.
- [X] My changes work for both new and existing PDF files.
- [X] I ran the linter on my changes.
Hello @Hopding
Is your package still maintained ?
I can see PR's pending from 3 years and no new commits...
@MockingMagician I have the same problem: in need to check PDF form checkboxes when there are multiple options . How can I solve it ? There is an interesting maintained fork of this project in cantoo-scribe/pdflib. But it does not seem to include your patches or similar fixes....
Hi @giox069
You can always use my patch, for my part I created my own version of the library with this patch.
I'll keep an eye on the fork that's being maintained, and see if it's compatible. If the PDF standard is respected, it should be.