How to add multiple items and multiply it - need help with Javascript

Dec 01, 2017

Copy link to clipboard

Copied

I would like to add about 3 columns and multiply them by another column and I'm having some problems writing the javascript.

I would like to add totals with the following headings:

Hotel1+Parking1+Mileage1*USexchange1 .

Could someone provide me with the instructions?

TOPICS
Acrobat SDK and JavaScript

Views

56

Likes

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

How to add multiple items and multiply it - need help with Javascript

Dec 01, 2017

Copy link to clipboard

Copied

I would like to add about 3 columns and multiply them by another column and I'm having some problems writing the javascript.

I would like to add totals with the following headings:

Hotel1+Parking1+Mileage1*USexchange1 .

Could someone provide me with the instructions?

TOPICS
Acrobat SDK and JavaScript

Views

57

Likes

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
Dec 01, 2017 0
Most Valuable Participant ,
Dec 01, 2017

Copy link to clipboard

Copied

Just add parentheses and put the exact formula above under the Simple Field Notation option in the Calculate tab.

You don't need JS.

Likes

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
Reply
Loading...
Dec 01, 2017 0
Dec 01, 2017

Copy link to clipboard

Copied

Could you give me an example?

Likes

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
Reply
Loading...
Dec 01, 2017 0
try67 LATEST
Most Valuable Participant ,
Dec 01, 2017

Copy link to clipboard

Copied

(Hotel1+Parking1+Mileage1) * USexchange1

Likes

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
Reply
Loading...
Dec 01, 2017 0