Skip to main content
Inspiring
January 22, 2025
Answered

ADDING KILOGRAM TO NUMBER AND STILL ADD OR SUBTRACT THE NUMBERS

  • January 22, 2025
  • 1 reply
  • 233 views

I want to add kilogram to numbers and still add or subtract the numbers in acrobat forms.
I believe that should be pretty simple for a professional.

let's say "text1, test2 test3, etc" are to be added or multiplied and add the total value in the text field "Total". 

I really appreciate any help you can provide.

Many thanks for considering my request.

 

Correct answer PDF Automation Station

Enter the following custom format script in the total field:

event.value=event.value + " kg";

If you also want the total field formatted as a number you will have to enter the script for the number format, the custom format script, and the keystroke script into the field.

https://pdfautomationstation.substack.com/p/custom-format-for-pdf-fields

 

1 reply

PDF Automation Station
Community Expert
Community Expert
January 22, 2025

Enter the following custom format script in the total field:

event.value=event.value + " kg";

If you also want the total field formatted as a number you will have to enter the script for the number format, the custom format script, and the keystroke script into the field.

https://pdfautomationstation.substack.com/p/custom-format-for-pdf-fields