Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

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
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

133 likes

Total Posts

316 posts

Correct Reply

88 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Establish
Employee
Kosta_Prokopiu1
Employee

Likes

133 likes

Total Posts

316 posts

Correct Reply

88 solutions
Top badges earned
Establish
Give Back 5
Give Back 3
Give Back 25
Give Back 10
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/