xfa forms - checksum for the <form> tag

Avatar

Avatar

ferrarimartin

Avatar

ferrarimartin

ferrarimartin

25-10-2020

Hello,

    This question has been asked before, but I cannot find an answer anywhere.

    For XFA forms, adobe reader adds a checksum in the <form> tag when saving. I'm trying to automatically fill an xfa form, and I need to calculate that checksum. Is there any documentation about how to perform that calculation?

Thanks,

     Martín.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Kosta_Prokopiu1

Employee

Avatar

Kosta_Prokopiu1

Employee

Kosta_Prokopiu1
Employee

26-10-2020

Oh I see. I am not sure that PDFBox can write XFA data. This checksum must be created by the manipulating software and uses certain parts of the XFA section. I cannot tell you which ones and how you would calculate that. I collected a number of links that might help you:

 

https://kbdeveloper.qoppa.com/fill-populate-xfa-dynamic-form-with-field-data-in-java/
https://kb.itextpdf.com/home/it7kb/examples/xfa-examples
https://stackoverflow.com/questions/33088789/how-to-use-itext-to-fill-out-dynamic-xfa-pdf-from-data-...

http://www.lawandsoftware.com/blog/filling-xfa-pdf-forms-using-pdfbox/