3 Replies Latest reply on Dec 29, 2014 12:01 PM by gkaiseril

    Javascript If Then strings?

    arlee.yanyan

      I am trying to create a form and I need strings to appear later in the form depending on what the user selects on a drop down menu. How should I go about doing this? The drop down are all string values.

       

      I have tried:

      var drop = this.getField(Dropdown).String();

      if(Species = "Option 1") {

      greeting = "Result 1";

      }

       

      Thanks for any help, it's greatly appreciated.