Copy link to clipboard
Copied
I'm trying to add a calculation in a fillable form for simple interest to make things easier on the end user. Below is my latest attempt to get this to work. It continues to give a syntax error. Where am I going wrong?
Interest Earned = ( this.getField("Ave Bal").value *0.001).value
Copy link to clipboard
Copied
Is this supposed to be the calculation script for "Interest Earned"? If so, use this:
event.value = Number(this.getField("Ave Bal").value) * 0.001;
Copy link to clipboard
Copied
Please read this simple guide on how to write calculation scripts.
https://www.pdfscripting.com/public/How-to-Write-a-Basic-PDF-Calculation-Script.cfm