Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
4

Script for Acrobat calculation

New Here ,
May 01, 2024 May 01, 2024

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!

TOPICS
How to , JavaScript , PDF forms
421
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
May 01, 2024 May 01, 2024
LATEST

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;

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines