Skip to main content
Participant
September 25, 2017
Question

how to create a button that can duplicate the content of the form not compiled as a new page?

  • September 25, 2017
  • 3 replies
  • 1044 views

I need to duplicate contenet into new page when I click on button "ADD";

This topic has been closed for replies.

3 replies

Thom Parker
Community Expert
Community Expert
November 2, 2017

A template is an excellent option.  Especially because they work in Reader XI and Reader DC!! It used to be that they only worked in Acrobat Pro and Standard.

You'll find a full template example file and tutorial  in the downloads section of PDFScripting.com. Search for the word "Template".

But there are other ways to duplicate content. What is the purpose of duplicating the content? Does this involve form fields?

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
November 2, 2017

You could use Acrobat's template and spawn a new page and rename the fields.

A lesson in Templates for Adobe Acrobat by Dave Wairight

I would create the template and use it to spawn a form page. rename the high level prefix from "P1" to "P0", and then hide the template.

Community Manager
November 2, 2017

Hi Rosas,

I haven't tried with Acrobat, but it is possible in LiveCycle/AEM form Designer.  How to add button to insert duplicate page in form

Moving this thread to JavaScript forum wait for more response from JavaScript Experts.

-Tariq Dar