2 Replies Latest reply on Oct 12, 2009 2:23 AM by MACY8167

    Combo Box choices hide or show buttons

    MACY8167

      I am trying to have different pictures display when different choices are made in a combo box.  I have made the pictures images on different buttons.  The Combo Box name is "Ribbon"  .  Under one of the button images is this script.

       

      var target =
      this.getField('Ribbon');
      cBox.value = ('RIBREG').Display=display.hidden; cBox.value = ('RIBFOIL').Display=display.visible;

       

      meaning if RIBFOIL was chosen this button would display

       

      Of course it is not working.  Any input would be greatly appreciated.

       

      Thanks!