Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

How to add layer visibility in Javascript to drop-down selection?

$
0
0

Hi,

 

I'm using Acrobat CC and I am trying to figure out how to add layer visibility to an existing custom script. I have a dropdown with 3 items in the list. The "A" in the code below represents the first selection from the list, I'll add B and C after I get the first section sorted. The "Default" section is the original state of the document when no selections have been made. When the user selects the first option in the drop down, I would like to hide/display certain form fields AND I'd also like to show/hide corresponding layers in the document. The existing code is below, and the layer I would like to show when "A" is selected is called: Cost Center Choice 1. Any help/advise is greatly appreciated!

 

Kathryn

Screen Shot 2015-08-24 at 12.36.25 PM.png


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>