Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to compare form field values from two different PDFs

Explorer ,
Feb 27, 2019 Feb 27, 2019

Good evening, I am trying to find an efficient way to compare the form field values from two different documents... is there an easy way to do this?

Both documents are the same, but the idea is to check for any possible changes made to one of the documents.

Any help would be wonderful, thank you!

TOPICS
Acrobat SDK and JavaScript , Windows
787
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2019 Feb 27, 2019

You posted in the JavaScript forum. Do you want to do it using a script?

If not necessarily then I would use the Merge Data Files into Spreadsheet command and then compare the values in the two rows using Excel. That's probably the easiest way of doing it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Feb 27, 2019 Feb 27, 2019

We want to compare two different files using a script, yeah

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 27, 2019 Feb 27, 2019
LATEST

That's more complicated. You would need to run a script on the one file, collecting all the form data into an app-level or global variable, and then run it again on the second file, collecting the data from that file, and then compare the two.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines