Copy link to clipboard
Copied
Hello,
I do have a form and I would like to do a simple calculation of a fields... here is what I have coded that does not work.
event.("Balance.0").value = this.getField("Credited.0").value - this.getField("Debited.0").value - this.getField("AmtDistributed.0").value;
Balance.0 is a read only field, when I enter number in Credited.0, Debite4d.0 or AmtDistribute.0 still Balance.0 stays blank.
What I am doing wrong?
Regards,
Jeff P.
You need to place it as the custom calculation script.
Copy link to clipboard
Copied
Change this:
event.("Balance.0").value
To:
event.value
Copy link to clipboard
Copied
Hi,
Did not worked...
I have the formula under the Action tab of Balance Field.
Regards,
Jeff P.
Copy link to clipboard
Copied
You need to place it as the custom calculation script.
Copy link to clipboard
Copied
thanks Now it is working.