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

Find and replace text in multiple PDFs

New Here ,
Apr 26, 2023 Apr 26, 2023

Copy link to clipboard

Copied

Hi folks!
I'm got a few hundred PDF forms that I need to replace the first and last name of a retired co worker to mine. I'm using Adobe Acrobat Standard. 

I've tried using edit - advanced search - search folder for keyword - then find and replace

 

However this gives me an error saying that it cannot be done because it's an XFA form. 

 

Does anyone know of any way I can do this? Perhaps some sort of script I can copy/paste into notepad or if there is another feature I can take advantage of in Acrobat DC?

 

Thank you kindly for your time,

 

Syl

 

 

TOPICS
PDF forms

Views

2.4K

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Apr 26, 2023 Apr 26, 2023

If it is a XFA form, then a script using the XFA JavaScript model can be used to modify field values. But, as noted by try67, you'll have to do this one form at a time, or upgrade to Acrobat DC Pro so it can be done in a batch process.  

For the script,  you'll need to know the field path for the first and last name fields. Identifying these fields will require AEM designer, or a separate script to print out the form tree.  

 

Ask this question on the AEM forum. 

 

 

Votes

Translate

Translate
Community Expert ,
Apr 26, 2023 Apr 26, 2023

Copy link to clipboard

Copied

Not possible, certainly not on Acrobat Standard, which doesn't have batch processing capabilities at all.

Votes

Translate

Translate

Report

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 ,
Apr 26, 2023 Apr 26, 2023

Copy link to clipboard

Copied

If it is a XFA form, then a script using the XFA JavaScript model can be used to modify field values. But, as noted by try67, you'll have to do this one form at a time, or upgrade to Acrobat DC Pro so it can be done in a batch process.  

For the script,  you'll need to know the field path for the first and last name fields. Identifying these fields will require AEM designer, or a separate script to print out the form tree.  

 

Ask this question on the AEM forum. 

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

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
New Here ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

Hey there! It sounds like you're trying to replace the first and last name of a retired co-worker with your own on a few hundred PDF forms using Adobe Acrobat Standard. Unfortunately, the edit - advanced search - search folder for keyword - then find and replace method isn't working because it's an XFA form.

Have you tried using the "Replace Pages" feature in Acrobat DC? You can select the pages you want to replace and choose the new PDF file to Replaced  them with. It's worth giving it a try to see if it works for your specific use case. Alternatively, you could try reaching out to Adobe's customer support for further assistance. I hope this helps!

 

[Spam link removed]

Votes

Translate

Translate

Report

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 ,
May 04, 2023 May 04, 2023

Copy link to clipboard

Copied

That won't work with an XFA form. Or was your reply just an excuse to post a spam link?

Votes

Translate

Translate

Report

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
New Here ,
Aug 04, 2023 Aug 04, 2023

Copy link to clipboard

Copied

LATEST

2023 and Acrobat still can't batch replace texts. What gives?

Votes

Translate

Translate

Report

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