8 Replies Latest reply on Nov 14, 2014 3:37 PM by frustrared by install

    can someone pointout the error on this

    frustrared by install Level 1

      CheckBox (Box1)

      Dropdown (drop1)

       

      when two conditions met, then drop2 is populated

      Have below as custom calculation script in drop2

       

      var v==this.getfield("drop1").value;

      var g==this.getfield("Box1").value;

      if ( (g=="Yes") && (v=="Finance") ){

      this.getField("drop2").setItemse==(["934-0000-000000-001-00-000"]);}

       

      or this

       

      var v==this.getfield("drop1").value;

      var g==this.getfield("Box1").value;

      if ( (g=="Yes") && (v=="Finance") ){

        event.value==(["934-0000-000000-001-00-000"]);}

       

      It gives

      SyntaxError: missing ; before statement

      1: