9 Replies Latest reply on Dec 10, 2014 6:15 AM by CKTorrey

    Calculation Scripts Aren't Working!

    CKTorrey

      I have two calculation scripts that were working but now are not after some adobe updates. It isn't making any sense to me and I haven't been able to figure it out. Can anyone see where my problem might be??

       

      The scripts are:

       

      // custom calculation script  lenderstitle;

      // lenderstitle = (loanamount * .0026) round up to neareast 10th; // compute value;

      var lenderstitle = this.getField("loanamount").value * 0.0026; // round value;

      event.value = MyRound(lenderstitle, 1);

       

       

      and

       

       

      // ownerstitle = (((loanamount * .0046) - lenderstitle)) round up to nearest 10th   

      // compute value

      var ownerstitle = this.getField("loanamount").value * 0.00465 - this.getField  ("lenderstitle").value;

      // round value;

      event.value = MyRound(ownerstitle, 1);

       

      Any help to solve this mystery would be greatly appreciated!