Skip to content

write_pdf in fields.py does not save changes #3

@techNoSavvy-debug

Description

@techNoSavvy-debug

Hello,
I tried using this script to change form fields in a pdf file using python. (I followed these steps:
http://evanfredericksen.blogspot.com/2014/03/manipulating-pdf-form-fields-with-python.html)

The program runs without any warning or errors, but the changes are not saved. I get_fields from my pdf, then change my required fields. I printed the fields dictionary to make sure my change was in there, and it was. When I write_fields and then check the fields, they are reset to original state.
Does anyone else have this issue too? How can I fix it?
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions