13 Replies Latest reply on Apr 24, 2014 6:53 AM by Das0627

    Java help Needed

    Das0627

      I am looking to have a checkboxes to check automatically based on what is selected on the dropdown list.

       

      Such as

       

      DepartmentUser1 needs to have access to system1 system 2 system 3

       

      DepartmentUser2 needs to have access to system1 system3 system 4 and system 35

       

      DepartmentUser3 needs to have access to system22 system28

       

      DepartmentUser4 needs to have access to system49

       

      I had used the code I had found earlier but it does not let me select multiple checkboxes...

       

      The Department Users all have different export values such as 1 2 3 etc...

       

      Here is the code I had found earlier (I used it in the Custom Calculation Field)

       

      var drop = this.getField("Dropdown1");

      var check = this.getField("ADP");

      if ((drop.value == 1) || (drop.value == 2)){

      check.checkThisBox(0,true);

      }

      else {

      check.checkThisBox(0,false);

      }

       

      I am using Adobe Acrobat Pro X.

       

      Thank you for any and all help.