12 Replies Latest reply on Aug 14, 2014 1:19 PM by try67

    Javascript not working in adobe pro

    marxinfarxin Level 1



        I am trying to use the following if statement:


      if(this.getField("Total").value >= 120);{event.value = "Pass"};

      Else;{event.value = "Retake"};


      Where there is a field called Total that is the sum of many fields. If the total is more than or equal to 120, I want the value in this field to be either the string "Pass" or "Retake"


      No matter the value of the Total field, it just say's Pass.


      Any ideas on where I am messing up?