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

Can I have a sum total of the product of more than 1 pair of fields?

Explorer ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

Looking for a script for the below function.

DPIsumproduct.jpg

I'd like to have the Total be the sum of each of the 4 products of Interest Rate x Balance.

Thank you!

TOPICS
PDF forms

Views

566

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 ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

What are the names of the fields involved?

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
Explorer ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

These are the field names. As well as the total field name.

OwnedRow_1 x fill_131 (Interest Rate x Balance)

OwnedRow_2 x fill_132

OwnedRow_3 x fill_133

OwnedRow_4 x fill_134

Schedule D total (Sum of the above products)

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 ,
Jan 17, 2018 Jan 17, 2018

Copy link to clipboard

Copied

Under the Calculate tab of the total field, in the Simplified Field Notation option, enter:

(OwnedRow_1 * fill_131) + (OwnedRow_2 * fill_132) + (OwnedRow_3 * fill_133) + (OwnedRow_4 * fill_134)

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
Explorer ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

You are awesome try67! However, it's still not working. Here are some screen shots of what I did. Let me know if I've made an error.

First, thee is the OwnedRow1_2 filed which is a %. I added scripts to make it work so that entering 10 didn't case it to display 1000%.

Screen Shot 2018-01-18 at 9.28.35 AM.png

Screen Shot 2018-01-18 at 9.29.16 AM.png

Then I added the simplified field notation you so kindly provided. But I'm not getting a total in the Schedule D total field. Am I doing something wrong?

Screen Shot 2018-01-18 at 9.29.36 AM.png

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 ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

Check the JS Console for error messages.

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
Explorer ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

This is what it shows

Screen Shot 2018-01-18 at 9.47.09 AM.png

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 ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

That means that one (or more) of the field names you entered is invalid.

Keep in mind that JS is case-sensitive!

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
Explorer ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

Doesn't look like anything is misspelled. Any other options?

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
Explorer ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

Any chance you'd be willing to look at the whole 3 page document for me? Do you have a Patreon or anything? You've been SUPER helpful!

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 ,
Jan 18, 2018 Jan 18, 2018

Copy link to clipboard

Copied

LATEST

Sure. You can email it to me to try6767 at gmail.com.

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