3 Replies Latest reply on Jun 26, 2017 2:42 PM by Joel_Geraci

    Need help with javascript that turns ON one Layer that corresponds to a name in a drop down menu and turns off the layers of all other names.

    loupis757 Level 1

      I'm creating a pdf that will show the same stats for different subcontractors.

       

      I would like to have all the subcontractor names in a drop down menu. When a subcontractor's name is chosen, a layer will be turned on that consists of a text field with the sub's stats.

       

      All of the different subcontractor text fields will be located in the same place on the pdf, each with it's own layer. So that when a sub is chosen his layer is made visible and all of the rest are made invisible, until their name is chosen on the drop down menu.

       

      Can this be done by adding script to the custom validation window under the drop down menu's properties section? If so, does anyone know what that script would be?