Copy link to clipboard
Copied
I am working in a PDF Form and trying to do this calculation.
I understand that I need to do it in javascript, which I have never done. Any help is appreciated.
Total Services Costs x .9 = Total Services Costs 2
You can use this code as the custom calculation script of the second field:
event.value = Number(this.getField("Total Services Costs").valueAsString) * 0.9;
Copy link to clipboard
Copied
You can use this code as the custom calculation script of the second field:
event.value = Number(this.getField("Total Services Costs").valueAsString) * 0.9;
Copy link to clipboard
Copied
Thank you!