Copy link to clipboard
Copied
Looking for a script for the below function.
I'd like to have the Total be the sum of each of the 4 products of Interest Rate x Balance.
Thank you!
Copy link to clipboard
Copied
What are the names of the fields involved?
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)
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)
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%.
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?
Copy link to clipboard
Copied
Check the JS Console for error messages.
Copy link to clipboard
Copied
This is what it shows
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!
Copy link to clipboard
Copied
Doesn't look like anything is misspelled. Any other options?
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!
Copy link to clipboard
Copied
Sure. You can email it to me to try6767 at gmail.com.