Skip to main content
Participant
Oct 1, 2024 8:13 PM UTC
Answered

Javascript to subtract a certain amount from a selected text box in Adobe Acrobat Pro DC

Hi all,

 

I am trying to write a script that subtracts a certain amount from the selected text box in Adobe Acrobat Pro DC. Can anyone offer me some advice?

 

Sincere thanks.

This topic is closed to new replies. Start a new post to keep the conversation going.
Thom Parker
Thom ParkerCorrect answer
Community Expert
Oct 3, 2024 5:20 PM UTC

Read these articles:

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

https://www.pdfscripting.com/public/How-to-Write-a-Basic-PDF-Calculation-Script.cfm

 

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

2 replies

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
Oct 3, 2024 5:20 PM UTC
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Nesa Nurani
Community Expert
Community Expert
Oct 3, 2024 4:37 AM UTC

Can you give us some more description of what exactly you try to achieve?

Translate