Issues with calculations on templateForm.
I have 2 fields, Commission 1 and Commission 2.
Those Total into Commission Total. This works perfectly every time a change event happens on either Commission 1 or Commission 2.
I have another field that is the Gross Profit Commission which is Gross_Profit - CommissionTotal. This is where the problem begins, if I set Commission1 and then Commission2, Commission Total is correct as is the GPCommission. If I set Commission2 and then set or change Commission1 the CommissionTotal is correct but the GPCommission is not.
The javascript for both Commission1 and Commission2 change events are identical.
Any ideas?