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

How to create a PDF doc with pages of identical format that has static text and fillable fields?

New Here ,
Dec 03, 2019 Dec 03, 2019

I have tried to do this task by using a combination of Create PDF and Prepare Form, but have not been able to make it work. I'm trying to create a catalog of my movies. It will have one page for each movie, and each page will have the same layout and contain fillable fields for Title, Year Released, Actors, etc. Any help would be appreciated.

TOPICS
Create PDFs , How to
943
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 ,
Dec 03, 2019 Dec 03, 2019

What you are describing is a page template.  You create a page that has the desired layout and form fields, then on the "Organize Pages" toolset, select the "More" menu, where you'll find the "Page Templates" tool. Use this tool to convert your page into Page Template. To use this template you'll need script to "spawn" it. 

 

The easiest way to do this is to create a cover page that is not a template, it's just a cover. Then add a button to it that spawns a new page. The code on the button is something like this.

 

var oTemplate = this.getTemplate(<name>);

oTemplate.spawn(this.numPages-1,true,false);

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
New Here ,
Dec 12, 2019 Dec 12, 2019

Thank you for your suggestion -- but I am not competent in writing scripts. so I decided to go with the suggestion by Test_Screen_Name, and it worked out well.

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
LEGEND ,
Dec 03, 2019 Dec 03, 2019

There are many problems to do this in PDF. Look for a database system; export or print its reports to PDF. 

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
New Here ,
Dec 12, 2019 Dec 12, 2019

Thank you for your suggestion. I agree with it and have implemented a solution that utilizes MS Access. It involved doing a series of very simple tasks: (1) create a table that defines data items, fields, and records; (2) create a form and enter data into the fields and records; (3) create a report that shows the data in a tabular format; (4) export the report to an RTF file; (5) open this RTF file in MS Word, and do a "Save As" to create a PDF file; (6) open this PDF file in Acrobat Reader.  This solution works perfectly -- the content and layout of the data as designed in MS Access looks the same in Acrobat Reader. Also, the page navigation and text search functions in Acrobat Reader help make this a great solution.     

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 ,
Dec 13, 2019 Dec 13, 2019
LATEST

I see you found a good solution that doesn't require you doing it in the PDF file, but for future reference it can be done using a script, like the one Thom provided, or this (paid-for) tool I've developed, which doesn't require you to write any code yourself: http://try67.blogspot.com/2013/09/acrobat-duplicate-page-including-form.html

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