Skip to main content
Participant
May 1, 2024
Question

Script for Acrobat calculation

  • May 1, 2024
  • 1 reply
  • 420 views

Hi,

So im trying to make a fillable form and need to have a field where the total is the field above with 100 added to it. Not sure if it needs a custom script or if theres an easier way to do it. Thanks in advance!

This topic has been closed for replies.

1 reply

Nesa Nurani
Community Expert
Community Expert
May 1, 2024

If you want "corner" field to be "booth cost"+100, use this as custom calculation script of "booth cost":

if(event.value)
this.getField("corner").value = Number(event.value)+100;
else
this.getField("corner").value = 0;