Skip to main content
randys-bcc
Participant
January 24, 2018
Question

How can I search fillable field names across multiple pdfs. Advanced search does not seem to work. I'm trying to find all pdfs that use a certain field name.

  • January 24, 2018
  • 3 replies
  • 1295 views

I'm trying to find all the pdf docs in a folder that use the same name for a fillable field.  I tried using the Advance Search for "All PDF Documents in" but that only finds text in the pdf docs.  I tried to search using the field name (see yellow box in screen shot #1)  but that returns no results (see red box in screen shot #2) when I know that there are at least 3 pdf docs using this field name in that folder (see example of 1 of the docs in screen shot #3).

Is there any way to accomplish this?

Screen shot #1:

Screen shot #2:

Screen shot #3:

This topic has been closed for replies.

3 replies

randys-bcc
Participant
January 25, 2018

Thanks for the answers!

I don't have Pro but I'll consider getting it.

I couldn't get the batch file to run but I'll keep working on it as time permits.

try67
Community Expert
Community Expert
January 26, 2018

In the screenshots above it's evident you do have Adobe Acrobat Pro... It's written in the title of the application.

JR Boulay
Community Expert
Community Expert
January 26, 2018

I would say even more: Acrobat Pro version 9 for Windows.

Acrobate du PDF, InDesigner et Photoshopographe
Thom Parker
Community Expert
Community Expert
January 25, 2018

This script runs from the Console Window and will search all currently open documents. It could be easily modified to work in an Action.

var aDocList = [];

var oDoc;

for(i=0;i<app.activeDocs.length;i++)

{

     oDoc = app.activeDocs;

     for(var n=0;n<oDoc.numFields;n++)

     {

         if(oDoc.getNthFieldName(n) == "SearchFieldName")

         {

              aDocList.push(oDoc.path);

              break;

          }

      }

}

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
try67
Community Expert
Community Expert
January 24, 2018

The Advanced Search function only searches the value of fields, not their names.
You can use an Action (if you have Acrobat Pro) to print out a list of all files that contain a certain field-name.