3 Replies Latest reply on Apr 15, 2010 4:38 PM by mudz78

    How to set field value based on comboBox selection




      This is probably a simple seeming question, but what do  I need to do to acheive this:


      var a = this.getField("comboBox").value;
      if (a == "Test") {
      setField("textField") to "1"


      What is the syntax for acheiving this (pseudo)code?


      Thanks for your time.