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

2.7K

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

Participant , Apr 22, 2021 Apr 22, 2021
Adobe Community Professional ,
Feb 17, 2021 Feb 17, 2021

Copy link to clipboard

Copied

What are the names of the total fields?

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
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

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

Copy link to clipboard

Copied

You can use following calculation:

Bild1.jpg

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
Engaged ,
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

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

Copy link to clipboard

Copied

This is possible with a script.

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
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.

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

Copy link to clipboard

Copied

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