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

Maximum number of actions for a button

New Here ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

I'm creating buttons & actions for interactive pdf in Adobe acrobat pro. In a single page, I could NOT add more than 102 actions for a single button. Is this limit can be extended somehow in adobe settings.

TOPICS
Create PDFs , How to , PDF forms

Views

482

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 ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

For what does you need so many actions?

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 ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

Its an engineering manual. 

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 ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

Please answer my question.

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 ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

I don't think i understood your question correctly. But here is my answer, button needs to hide/show another buttons (basically layer). Does that answer your question.

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 ,
Aug 03, 2021 Aug 03, 2021

Copy link to clipboard

Copied

When you use a script for this you need only one action at the button.

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

Do you have any link or mock up document with javascript that can help me.

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
LEGEND ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

The basic code is very simple:

 

this.getField("field1").display = display.visible; // show this field

this.getField("field2").display = display.hidden; // hide this field

 

Just duplicate these lines as many times as needed, adjusting the field name each time.

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

The interactive pdf created this way will work as expected in browsers also? if the pdf is opened through browsers?

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

There's no definite answer for that. It depends on the browser and the PDF plugin used in it.

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

I've attached a trial document here. In this, i've added script for the yello arrow button to turn red when clicked. It happens, but the red color fills outside the arrow. I want the arrow shape to change the color to red. is it possible? Also how to detect color for if condition. I've tried like this, but it didn't work.

var arrowColor = this.getField("Off-Yellow").fillColor;
if arrowColor == "rgb,1,1,0"
{
event.target.fillColor = color.rgb(1,0,0);
this.getField("Text-Button").display = display.visible;
}
else
{
event.target.fillColor = color.rgb(1,1,0);
this.getField("Text-Button").display = display.hidden;
}

 

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 ,
Aug 04, 2021 Aug 04, 2021

Copy link to clipboard

Copied

LATEST

You have multiple errors in your code. I recommend you read the documentation of the color object to see how to define new colors, and how to compare color objects.

You also have some errors that have to do with the core JS-syntax. Namely, you have to put parentheses around the condition in your if-statements.

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