Participant
April 9, 2020
Answered
Subtracting two fields that are total fields
- April 9, 2020
- 1 reply
- 2384 views
I am trying to subtract two fields, the fields I am attempting to subtract are "totalled" fields, meaning that field's total has a calculation. I need to subtract "totalasset" from "totalliabilities" giving me the answer in my "networth" field. However, no matter what I try I cannot get the two fields to subtract. Can someone please help me? I have use the following formula in create and edit Javascripts:
//compute the difference of the estimated value less the actual value
event.value = this.getField("TOTALASSETS").value - this.getField("TOTALLIABILITIES").value;
Help please, I have spent so much time trying to figure this out and I need to complete this pdf form.
Thank you in advance,
Marie
