6 Replies Latest reply on Oct 2, 2009 7:14 AM by tbackus87

    Simple pdf form calculation not working

    tbackus87

      I am new to pdf forms and I am having difficulty with a simple calculation.

       

      The following script is not working for me:

       

      var cubicft = this.getField(“cubicft”);
      var temprise = this.getField(“temprise”);

       

      event.value = (cubicft * 0.133) * temprise;

       


      I used the "Value is the sum" of the following fields option, selecting "cubicft" and "temprise" and it adds them fine. However, when I try a custom calculation script, nothing happens!

       

      Please advise. Thank you for taking the time to read this post.