Skip to main content
This topic has been closed for replies.
Correct answer try67

Use this code as the field's custom calculation script (adjust the field names, of course):

event.value = Number(this.getField("FieldName1").value) - Number(this.getField("FieldName2").value);

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
November 16, 2016

Use this code as the field's custom calculation script (adjust the field names, of course):

event.value = Number(this.getField("FieldName1").value) - Number(this.getField("FieldName2").value);