5 Replies Latest reply on Nov 11, 2016 6:18 AM by try67

    Changing Field Background Color with dependancies

    davidm76220796

      Why am I getting a Syntax error 7?

       

      var Red10=this.getField ("Red10").value;

      var N36=this.getField ("N36").value;

      var N37=this.getField ("N37").value;

      var P28=this.getField ("P28").value;

      var L30=this.getField ("L30").value;

      (function (){

      if (P28)>=(N36)

      &&

      if (P28)<=(N37)

      &&

      if(Red10)>=(L30)

      event.target.fillColor=color.yellow;

      })();

       

      Thanks

      dkm