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

Creating a PDF file with multiple template

Guest
Sep 27, 2016 Sep 27, 2016

Hi I would like to know how can i create a pdf file that when i open it up. i can choose from between different template/form. Like for example i have file A, B, and C. When i open the pdf i can choose to work with file A and then next time i open it up again i can choose to work with C and so on and so on.

TOPICS
Acrobat SDK and JavaScript , Windows
2.7K
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 ,
Sep 27, 2016 Sep 27, 2016

You can include separate forms as file attachments to a main document.

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
Guest
Sep 27, 2016 Sep 27, 2016

But is there a way to make it so that when you open up a pdf file. A List would show up and you can choose the separate form and then the pdf would populate the document with that form.

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 ,
Sep 27, 2016 Sep 27, 2016

Yes, but when you select a particular form, the pages that make up that form would be added to the document. When the document is saved they would normally be saved along with the rest of the document. Is that what you're looking for?

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
Guest
Sep 27, 2016 Sep 27, 2016

What i'm looking let me describe it. its kinda like a webpage. when you enter this webpage some option shows up to let you choose an offer to fill out and there are multiple of these offer. so the webpage here is the pdf file and the offer are forms within that pdf that i can choose to fill out.

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 ,
Sep 28, 2016 Sep 28, 2016

In the form you can use template pages.

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 ,
Sep 28, 2016 Sep 28, 2016

One can change a page from a simple page to a named Template. This template can be displayed or hidden using JavaScript or one can create a new page in the PDF by using JavaScript to "spawn" a new page.

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 ,
Nov 01, 2016 Nov 01, 2016

I tried to use the pages as templates.

creating buttons on my first page to reference to my template pages with javascript.

I named the templates as "page1" ... "page2" ... "page3"

And I made several buttons on the first page linking my templates to it with the code:

var a = this.getTemplate ("page1");a.spawn();

it works fine on my Adobe Pro DC on my desktop however it doesnt on my device.

What can I do?

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 ,
Nov 01, 2016 Nov 01, 2016

Mobile devices do not support all the features of JavaScript.

JavaScript APIs and 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
New Here ,
Nov 01, 2016 Nov 01, 2016

Thank you for your answer.

How should I proceed to use page templates on my pdf forms on mobile devices?

If I mark some pages as templates and I hide them how do I make the users access them?

do you have another suggestion?

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 ,
Nov 01, 2016 Nov 01, 2016
LATEST

I'm not aware of any PDF viewer for mobile devices (e.g., iOS, Android) that support templates and the JavaScript that's used to control them. Adobe Reader/Acrobat for Windows and OSX do.

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