Skip to main content
Participant
July 28, 2024
Question

How to Show pages based on selection from a dropdown menu

  • July 28, 2024
  • 1 reply
  • 267 views

Hello, I am a beginner to Acrobat javascripting and I would love to find a way to show and hide pages at the end of my document based on the selection in my dropdown menu. 

 

I have attached the dropdown box and the pages I would like to be visable when picking the first selection are numbered 54-56.  Pages 54-92 would be invisible before making the selection. 

 

Is this possible and if so, could someone help me with the script needed? 

 

Thanks so much for the advice/help.

 

Best wishes, 

 

Ian.

 

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
July 28, 2024

To show and hide pages you need to convert them to a Template object, hide them, and then spawn that object to make them visible. Then you would be able to delete them, even in Reader. All of this requires some scripting know-how, though.