Copy link to clipboard
Copied
Hi all,
I have an adobe form with two radio buttons "yes" and "no". When the user clicks "yes" two pages, also pdf form, should appear. How can this be done? Is it possible to automatically insert another pdf file if the "yes" option is checked?
Many thanks!
Copy link to clipboard
Copied
Using this code:
this.createTemplate("P0", 0);
First parameter is the template name, and the second is the page number (zero-based, so 0 is the first page in the file).
Copy link to clipboard
Copied
Inserting the pages when the button is clicked is not a good idea. It's better to insert them in advance, hide them, and then make them visible when needed. To do that you would need to use a script, and the pages will have to be converted to Template objects.
Copy link to clipboard
Copied
I don't have the "Organize Pages" tool. Is it possible to convert the pages to Template object without that tool?
Copy link to clipboard
Copied
That's odd. Do you have Acrobat or just the free Reader?
Copy link to clipboard
Copied
It's an older version of Acrobat. In the "Pages" tool I have Page thumbnails, rotate, delete, extract, replace, crop and split doc.
Copy link to clipboard
Copied
Is it Acrobat Standard or Pro? Only the latter gives you direct access to the Templates dialog, but you can still create them using a script.
Copy link to clipboard
Copied
It's standard. How can I create a template with a script?
Copy link to clipboard
Copied
Using this code:
this.createTemplate("P0", 0);
First parameter is the template name, and the second is the page number (zero-based, so 0 is the first page in the file).