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

Insert a pdf file based on radio button check

New Here ,
Oct 14, 2024 Oct 14, 2024

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!

TOPICS
How to , PDF forms

Views

322

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
community guidelines

correct answers 1 Correct answer

Community Expert , Oct 15, 2024 Oct 15, 2024

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).

Votes

Translate

Translate
Community Expert ,
Oct 14, 2024 Oct 14, 2024

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.

Votes

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
community guidelines
New Here ,
Oct 14, 2024 Oct 14, 2024

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?

Votes

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
community guidelines
Community Expert ,
Oct 14, 2024 Oct 14, 2024

Copy link to clipboard

Copied

That's odd. Do you have Acrobat or just the free Reader?

Votes

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
community guidelines
New Here ,
Oct 14, 2024 Oct 14, 2024

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.

Votes

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
community guidelines
Community Expert ,
Oct 15, 2024 Oct 15, 2024

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.

Votes

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
community guidelines
New Here ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

It's standard. How can I create a template with a script? 

Votes

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
community guidelines
Community Expert ,
Oct 15, 2024 Oct 15, 2024

Copy link to clipboard

Copied

LATEST

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).

Votes

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
community guidelines