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

Calculating Sum of all previous 'totals'

Participant ,
Feb 15, 2021 Feb 15, 2021

Copy link to clipboard

Copied

I have a form that has many columns for inserting in description, quantity and price, of different items,

In this form, I want to have a total of all of the previously entered in prices to make a total price.

Screen Shot 2021-02-16 at 3.50.19 pm.png

Im thinking of using a sum array but i dont know how to have the array change depending on where the total will lie.

Any help will be amazing

Thank you all in advance.

TOPICS
How to , JavaScript , PDF forms

Views

3.4K

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

Participant , Apr 22, 2021 Apr 22, 2021
Community Expert ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

What are the names of the total fields?

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
Participant ,
Feb 21, 2021 Feb 21, 2021

Copy link to clipboard

Copied

Hello @Bernd Alheit 

The Total fields are labelled:

Total1

Total2

Total3

ect.......

Total40

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 ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

You can use following calculation:

Bild1.jpg

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
Enthusiast ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

I think OP want something like dynamically total field, if  5 fields are filled he want total to be at 6th field, if 10 fields are filled he wants total to be at 11th field...etc

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 ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

This is possible with a script.

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
Participant ,
Feb 22, 2021 Feb 22, 2021

Copy link to clipboard

Copied

@Asim123 
Thank you, Yes that is exactly right! Sorry if my explanation of what I was trying to achieve was sub-par.

 

@Bernd Alheit  @Asim123 

Do you think you would be able to point me in a direction in terms of the script I would use, or if you could send a link through to anyone else who has achieved this?

 

Thank you kindly for your responses 

Any information would be greatly appreciated.

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
Participant ,
Apr 22, 2021 Apr 22, 2021

Copy link to clipboard

Copied

LATEST

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