Skip to main content
Participant
March 1, 2024
Question

Can anyone help me script a calculation?

  • March 1, 2024
  • 1 reply
  • 391 views

Hello Everyone,

I am trying to figure out a script that will deplete from an existing value in Acrobat.

I have a total: 39
I have checkboxes that say: YES / NO / N/A

If someone clicks YES I have a box that goes up in value if they select. Where I'm having the trouble is depleting my total if someone clicks N/A. Can anyone help me with this?

This topic has been closed for replies.

1 reply

Nesa Nurani
Community Expert
Community Expert
March 1, 2024

Add -1 as export value of N/A.

If that does not work for you, let us know the names of the fields and how exactly your calculations should work.

Participant
March 1, 2024

Hello Nesa,

I tried this and it didn't seem to make a difference. I currently have a total box and added in a value manually in the "Options tab" in default value. It does not seem to be subtracting from my total if I check off these boxes.