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

Simple Adobe Calcuation (Deposit calculations)

New Here ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

I need help creating a simple calcuation for deposit terms.

All the deposits will be based of a Guaranteed Minimum.

First Deposit (20%)

Second Deposit (50%)

Final balance (30%).

 

I cant seem to figure out how to calcualte it.

 

Can anyone help?Contract example.PNG

TOPICS
Acrobat SDK and JavaScript

Views

308

Translate

Translate

Report

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

correct answers 1 Correct answer

Community Expert , Dec 18, 2019 Dec 18, 2019

Then you can use this code as the custom calculation script of the first field, for example:

 

event.value = Number(this.getField("Guaranteed Minimum").valueAsString) * 0.2;

Votes

Translate

Translate
Community Expert ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

What's the name of the "Guaranteed Minimum" field?

Votes

Translate

Translate

Report

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
New Here ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

"Guaranteed Minimum"

Votes

Translate

Translate

Report

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 ,
Dec 18, 2019 Dec 18, 2019

Copy link to clipboard

Copied

LATEST

Then you can use this code as the custom calculation script of the first field, for example:

 

event.value = Number(this.getField("Guaranteed Minimum").valueAsString) * 0.2;

Votes

Translate

Translate

Report

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