Replies: 1 comment 2 replies
-
Forms usually have fixed field names. Thus merging them together multiple times will most likely yield broken results as discovered. I have no direct solution for fixing this. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using pypdf version 6.0.0. I fill a form in a pdf and then write it to a different location using
PdfWriter
. I do this twice, so now I have two pdfs with same form but different data. Now, I append one to another. But what happens is that the same first filled pdf is present twice in the final file.For example, I have customer details pdf called
details.pdf
. I fill this once for customer John and save it asfile1.pdf
. Then, I fill it for customer Dave and save it asfile2.pdf
. Now, I append them using below code:But in
merged-pdf.pdf
, I getfile1.pdf
appended to samefile1.pdf
.Is this a known issue? Is there any work around to it?
Beta Was this translation helpful? Give feedback.
All reactions