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

How to populate input data in PDF Porfolio?

Contributor ,
May 22, 2019 May 22, 2019

I have created a PDF portfolio with several individual PDF Form. The first PDF form contains basic data like Name, Address, Date of Birth, Phone Numbers, etc.

In the other forms, certain basic data also exist. How can I populate these basic data in the other forms so such data is inputted only once?

TOPICS
PDF forms
830
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 ,
May 22, 2019 May 22, 2019

Hi Henry:

Do you need to use a PDF portfolio? If you use a single PDF (the pages can look different), this will happen automatically as long as the form field names match.

~Barb

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
Contributor ,
May 23, 2019 May 23, 2019

Hi Barb,

Yes, the forms need to be in a portfolio. The portfolio consist of several sales forms which contain data that get repeated across the different forms.

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 ,
May 23, 2019 May 23, 2019

It can be achieved with a script, but it's not a simple task. For starters, you need to decide when the values are going to be updated: Each time you change them? Each time you open a file? Each time you save a file? Something else? This is very tricky.

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 ,
May 23, 2019 May 23, 2019

This is very tricky. The JavaScript context in a particular Portfolio form does not have direct access to any of the other forms. This type of data sharing is done most efficiently from the Cover sheet, but it can be accomplished less cleanly from the individual forms. I've Actually built this exact application a couple of times, and in different ways. It is a minefield of issues.

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
Contributor ,
May 23, 2019 May 23, 2019
LATEST

Thanks for all your feedback to my question.

I guess for now, I would go to the solution Barb suggested.

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