Copy link to clipboard
Copied
I have two simplified scripts for two different form fields. First one works fine, but the second pops the error you see in the picture whenever you remove data from the other fields associated with the script. Any ideas?
Copy link to clipboard
Copied
This usually happens when you use division and the divisor is a field. When that field is empty (or its value is zero) it results in an illegal mathematical operation, and the result can't be displayed if the field's Format is set to Number.
To solve it you must perform the calculation with a script and if the divisor is zero do not divide by it.