Skip to main content
lightsociety
Participant
February 26, 2020
Question

I need a code to convert pounds to kilograms on Adobe Acrobat Pro

  • February 26, 2020
  • 1 reply
  • 731 views

Hello, I need to convert pounds to kilgrams in Adobe Acrobat Pro.

 

I have two text fileds, one that reads "Wt lbs" and another that reads "Wt kg". What I would like is when I enter the pound under "Wt lbs" it automatically converts to kilograms under "Wt kg".

 

Something similar to calculating a person age through a DOB field, which I already have done using a code. All I need is a code, as I do not know how to do them and where do I put this code.

 

Thank you!

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
February 27, 2020

This is a very straight forward calculation. You don't even need a script to do it.

https://acrobatusers.com/tutorials/how-to-do-not-so-simple-form-calculations/

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often