DC, show / hide pages in at the same time with a button command

New Here ,
Dec 15, 2019 Dec 15, 2019

Copy link to clipboard

Copied

Hi, I have tried to solve the problem... but I need help.

I have a pdf file with 4 pages. The purpose is to have 2pcs buttons on page1.

Page 1 would only be visible.

When you clik the button1 (page1), page2 opens and page1 disappears.

Page2 has a button2 and when you click  it, page1 opens and page2 disappears.

 

When you clik the button1.2 (page1), page3 and 4 opens and page1 disappears.

Page3 has a button3 and when you click  it, page1 opens and page3 and 4 disappears.

 

I have done templates for the pages and tried to program Java but I can't find the right codes.

 

TOPICS
Edit and convert PDFs, How to, PDF forms, Windows

Views

89

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
community guidelines
Adobe Community Professional ,
Dec 30, 2019 Dec 30, 2019

Copy link to clipboard

Copied

Try the forum for Adobe Acrobat.

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
community guidelines
Adobe Community Professional ,
Dec 30, 2019 Dec 30, 2019

Copy link to clipboard

Copied

LATEST

It's JavaScript, not Java, first of all.

The code to use depends on the application where the file is going to be opened. If it will be used in Reader then you have to spawn the pages from the (hidden) Templates, and then delete those pages later on. If it will only be used in Acrobat then you can simply show/hide the Template pages themselves directly.

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