Skip to main content
rodrj952
Participant
December 27, 2017
Question

Allowing users to overrride calculation field with manual text

  • December 27, 2017
  • 1 reply
  • 261 views

I'm looking for help with a script which allows a calculation field to be overwritten with manual text.....anybody?

Any assistance will be greatly appreciated.

Thanks in advance 🙂

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
December 27, 2017

It's possible, but complicated.  There are examples and explanations here.

Calculating field values and more

The article labeled "Writing Calculations" includes sections named "Blocking Calculations" and "Overriding Caculations".  the key is the "event.rc" property, which when set to false, blocks the calculation.

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