xfa forms - checksum for the <form> tag

Avatar

Avatar
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile

Avatar
Level 1
ferrarimartin
Level 1

Likes

0 likes

Total Posts

5 posts

Correct reply

0 solutions
View profile
ferrarimartin
Level 1

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
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile

Avatar
Affirm 100
Employee
Kosta_Prokopiu1
Employee

Likes

165 likes

Total Posts

369 posts

Correct reply

107 solutions
Top badges earned
Affirm 100
Validate 1
Establish
Give Back 5
Give Back 3
View profile
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/