5 Replies Latest reply on Feb 2, 2012 11:26 AM by Milton123321

    Script not working for custom calculation

    Milton123321

      I am trying to test Javascript on Adobe Pro: the simple script below is not executing:

       

      var v1 = this.getfield("valiue1").value;

      var v2 = this.getfield("value2").value;

      var v3 = v1 + v2;

       

      this.getfield("total").value = v3;

      NotWorking.jpg

       

      What am i doing wrong?

      Also in this forum, why cant i copy/paste? I had to type that code above?