-
Notifications
You must be signed in to change notification settings - Fork 74
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
Can't check a checkbox in the PDF #32
Comments
Andy, please compare the relevant dump_data_fields output of the empty PDF The
Cheers, Am 2015-09-03 07:47, schrieb Andy Atkinson:
|
@jkraemer Thanks for the quick response. Below is the before and after checking the box and saving the PDF as a new PDF.
I noticed that |
so what does the dump_data_fields output of the last PDF (filled via pdf_forms) look like? Does it set the FieldValue but the box is not checked or is the FieldValue not set at all? Did you really double check if the FieldStateOptions contain any whitespace that you might be missing? |
@jkraemer For now I've worked around the issue by creating new fields using LibreOffice. I can even specify the name of the field which makes it much easier to link up the code that supplies the values I want to put into the output PDF. I'll try to answer your question above soon as well. If you want to try it yourself, I was using the US IRS W9 form which has some pre-filled checkboxes for the federal tax classification. Thanks. |
For the US IRS W9, |
From that field name I would tell this is a hell of a form :) I assume this can be closed then. |
Hello. I seem to be having a similar issue to #22. I haven't been able to solve it using the solution there.
By running
pdftk
withdump_data_fields
I'm able to see the following. I also opened up the PDF (it is a IRS W9 form) in OS X Preview, checked the box, ranpdftk
again and see the sameFieldStateOption
values (it was suggested as a verification in the other issue).I keep filling the checkbox with '1' per the
FieldStateOption
value I want (checked) but I'm not able to see the checkbox get checked in the PDF that is created.Any other tips or suggestions? Thanks.
The text was updated successfully, but these errors were encountered: