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

How to Show pages based on selection from a dropdown menu

New Here ,
Jul 28, 2024 Jul 28, 2024

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.

 

TOPICS
Acrobat SDK and JavaScript , Mac
177
Translate
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 ,
Jul 28, 2024 Jul 28, 2024
LATEST

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.

Translate
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