8 Replies Latest reply on Feb 13, 2018 11:41 AM by Ghost0mck

    Custom Calculation Script help

    Ghost0mck

      I have no java script or programming experience.

      Trying to have a text field pre-fill based on the selection of any multiple dropdown boxes. Trying to auto fill the authority name that needs to sign when one or more dropdown has the appropriate selection. I can get it down with just one dropdown field but trying to make the pre fill appear if the selection appears in the other drop down.

       

      var selectedPackage = this.getField ("Dropdown5.0").value;

      if (selectedPackage=="K - RST") event.value= "COL, Chief of Staff";

       

      // etc

      else event.value = "";

       

      I tried to repeat the script for each dropdown box name but either it just works for the first one or all 5 of the dropdown needs to be selected to "K"