How to calculate a total sum of all previous totals using JS

Community Beginner ,
Apr 23, 2021 Apr 23, 2021

Copy link to clipboard

Copied

I'm trying to replicate the calculation method used in the pdf: Time Calculation_BB.pdf, and so far i've managed to transfer the code used to calculate the individual totals for each row. Now i would like to multiply all these individual totals into one field using JS, but i can't figure out how this should be done. 

 

I'm a bit of a novice regarding javascript, so i would really appreciate if someone could point me in the right direction. 🙂

TOPICS
How to, JavaScript

Views

49

Likes

translate

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

Most Valuable Participant , Apr 23, 2021 Apr 23, 2021
In the calculation scripts, change all instances of event.target.value = ... to event.value = ...  .

Likes

translate

Translate

Translate
Most Valuable Participant ,
Apr 23, 2021 Apr 23, 2021

Copy link to clipboard

Copied

In the calculation scripts, change all instances of event.target.value = ... to event.value = ...  .

Likes

translate

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