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

How can I make hundreds of pdf documents fillable ?

Community Beginner ,
Jan 12, 2023 Jan 12, 2023

Hello Adobe Community !

 

I have used a macro to generate hundreds of pdf from a doc x and a fusion database (excel). The problem is that I have to open all the file and use the tool "prepare form" to make it fillable and save it again. Is there a way to do this without having to open all the files ?

 

Thank you for your help !

TOPICS
Create PDFs , PDF forms
1.4K
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 ,
Jan 12, 2023 Jan 12, 2023

Should all the files have the same fields, in the same locations, or is each one different?

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 Beginner ,
Jan 12, 2023 Jan 12, 2023

Thank you for your prompt answer Try67.

Yes it's all the same field in the same location.

But I just found a way to do it with the Wizard Action !

Pauline279120838tah_1-1673540216892.png

Not sure if it's best way to do it but it does the job. Were you gonna suggest me to do that ?

Thanks

 

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 ,
Jan 12, 2023 Jan 12, 2023

Yes, I was, but instead of using the unpredictable Prepare Form command I was going to suggest to use a script to do it, but if it works for you, that's great!

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 Beginner ,
Jan 13, 2023 Jan 13, 2023

It's working well yes, the only thing is that I have to confirm the "detection of fillable fields" for each file. Do you know if there is a way to bypass this confirmation ?

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 ,
Jan 13, 2023 Jan 13, 2023

The field detection can't be changed.  So no, the confirmation can't be bypassed.

  

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

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 ,
Jan 13, 2023 Jan 13, 2023
LATEST

As Thom said, no, you can't do that. I would strongly recommend adding the fields using a script, if possible.

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 ,
Jan 12, 2023 Jan 12, 2023

Is there a way to get the page locations of the form fields from the spread sheet? If so then writing a script to automatically place the fields is not a difficult task.  Even if the location isn't avaiable in the spreadsheet, an Action script would be a much better option than the "Detect Form Fields" options. For example, since you've said they are all in the same location, you could manually place fields on one form, then write an Action script to copy the fields to all the other documents.   

 

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

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 ,
Jan 12, 2023 Jan 12, 2023

Or another way to write the script, would be to perform a Replace pages on the PDF containing the fields with one of the other PDFs, and then save it to the name of the other PDF.   This essentially places the fields on the other form.  You'd need to work out a file naming scheme to make this a smooth process. 

 

 

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

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