Assistance with Spawning a Template Page

New Here ,
Jan 04, 2021

Copy link to clipboard

Copied

So I have a 2 page "carbon copy" document if you will.  I am trying to add a button to spawn the two pages together.  In addition, alot of the form fields should also be copied over however, I would like one section to be able to be retyped.  I am having a hard time writing the code for this.  Can anyone assist?  

TOPICS
Acrobat SDK and JavaScript

Views

9

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Assistance with Spawning a Template Page

New Here ,
Jan 04, 2021

Copy link to clipboard

Copied

So I have a 2 page "carbon copy" document if you will.  I am trying to add a button to spawn the two pages together.  In addition, alot of the form fields should also be copied over however, I would like one section to be able to be retyped.  I am having a hard time writing the code for this.  Can anyone assist?  

TOPICS
Acrobat SDK and JavaScript

Views

10

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jan 04, 2021 0
try67 LATEST
Most Valuable Participant ,
Jan 04, 2021

Copy link to clipboard

Copied

You would need to create two separate Template objects and then spawn them one after another, specifying the form fields to not be renamed. Then, you would need to remove the fields that you want to have unique values on those pages, and add new ones in their place, with unique names.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jan 04, 2021 0