Copy link to clipboard
Copied
I need help to do a simple calculation in Java Script.
I have 3 columns on this fillable PDF Form.
(A) GST Exclusive (B) + GST (C) =Total
I need this calculation:
B = A x 0.1
C = B + A
You don't need JavaScript for this. Use the built-in Simple Field Notation option in the Calculate tab and enter the following:
Under B:
A * 0.1
Under C:
B + A
Make sure you do it in that order, or you would need to manually change the field calculation order later on.
Copy link to clipboard
Copied
Which Adobe software app are you using?
Copy link to clipboard
Copied
I am using Adobe Acrobat Pro.
Thanks
Copy link to clipboard
Copied
Your post moved from Adobe Creative Cloud to JavaScript(Acrobat) forum.
Copy link to clipboard
Copied
You don't need JavaScript for this. Use the built-in Simple Field Notation option in the Calculate tab and enter the following:
Under B:
A * 0.1
Under C:
B + A
Make sure you do it in that order, or you would need to manually change the field calculation order later on.
Copy link to clipboard
Copied
Thankyou worked perfectly!