You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to fill PDF Form fields. I note that this issue has been mentioned in #2611 and #2614. I used the dev version 4.3.0 of PyPdf and it seems my Dropdown fields are still not being filled. unfortunately I cannot provide the actual PDF file due to my company's policies. However, I can confirm that the Fields I am trying to fill are Dropdown (/Ch) type. The other Tx fields are being filled up fine.
$ python -m platform
# TODO: Your output goes here
$ python -c "import pypdf;print(pypdf._debug_versions)"# TODO: Your output goes here
Code + PDF
This is the code I use to write and fill the form fields. I am reading data from an excel sheet. the handle_bom function is there to solve an error when I try to run my code: AttributeError: ' float object has no attribute 'startswith'. (this Error did not occur in 4.2.0, though)
I am trying to fill PDF Form fields. I note that this issue has been mentioned in #2611 and #2614. I used the dev version 4.3.0 of PyPdf and it seems my Dropdown fields are still not being filled. unfortunately I cannot provide the actual PDF file due to my company's policies. However, I can confirm that the Fields I am trying to fill are Dropdown (/Ch) type. The other Tx fields are being filled up fine.
Code + PDF
This is the code I use to write and fill the form fields. I am reading data from an excel sheet. the handle_bom function is there to solve an error when I try to run my code: AttributeError: ' float object has no attribute 'startswith'. (this Error did not occur in 4.2.0, though)
This is one such example of my dropdown field.
The text was updated successfully, but these errors were encountered: