2 Replies Latest reply on Mar 2, 2009 5:34 AM by (Diane_Royer)

    Conditional Visiblity of Fields

      I am trying to make a field appear on my form based on an entry made in a combo box earlier on the form. I tried putting script on the "Custom Keystroke Script" of the control field. I also have "Commit Selected Value Immediately" marked on the Options tab. I can't seem to get it to work. No matter what I do, the field does not appear when I update the control field. Below is the script that I am trying to use. Any assistance you can provide would be greatly appreciated.

      if( event.willCommit)
      {
      if (Type_of_Equipment.value == "ATM")
      {
      SST_Reminder.setVisible(true);
      }
      else
      {
      SST_Reminder.setVisible(false);
      }
      }