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
This works well. The saved output1.pdf file has correct value filled.
The problem is, if I open another pdf file or reopen the same blank pdf form file, add some value in same way and save, the filled value cannot be saved.
For example, if I add below code after above code
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello! I'm trying to use this pdf.js to fill a XNA pdf file in a nodejs project. For example:
https://www.canada.ca/en/immigration-refugees-citizenship/services/application/application-forms-guides/imm5708.html
My code looks like:
This works well. The saved output1.pdf file has correct value filled.
The problem is, if I open another pdf file or reopen the same blank pdf form file, add some value in same way and save, the filled value cannot be saved.
For example, if I add below code after above code
The program runs without error. But the saved
output2.pdf
doesn't have the value I filled. It's just the original blank pdf form.I also tried to reset the pdf object using:
But seems no help.
Any idea what's the possible reason?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions