1. Open the attached form.pdf with a pdf viewer (e.g. evince), fill some text in the text field and check the checkbox. Save the file as form_filled.pdf
2. Run the attached python script on the created file:
python readwrite.py form_filled.pdf form_copied.pdf
3. Open the resulting file form_copied.pdf with a pdf viewer
In form_copied.pdf, the textfield still contains the entered text but is no longer editable, the checkbox disappeared completely.
The python script does nothing except for copying the first page of the given pdf document to a new file using the PyPDF library.
Ok, here the steps to recreate the problem:
1. Open the attached form.pdf with a pdf viewer (e.g. evince), fill some text in the text field and check the checkbox. Save the file as form_filled.pdf
2. Run the attached python script on the created file:
python readwrite.py form_filled.pdf form_copied.pdf
3. Open the resulting file form_copied.pdf with a pdf viewer
In form_copied.pdf, the textfield still contains the entered text but is no longer editable, the checkbox disappeared completely.
The python script does nothing except for copying the first page of the given pdf document to a new file using the PyPDF library.