## Simple Adobe Calcuation (Deposit calculations)

Dec 18, 2019

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?

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;

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

64

Likes

Report

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

## Simple Adobe Calcuation (Deposit calculations)

Dec 18, 2019

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?

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;

TOPICS
Acrobat SDK and JavaScript, PDF forms

Views

65

Likes

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2019 0
3 Replies 3
Dec 18, 2019

Copied

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

Likes

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2019 0
Dec 18, 2019

Copied

"Guaranteed Minimum"

Likes

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2019 0
Dec 18, 2019

Copied

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;

Likes

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Dec 18, 2019 1