Plus Minus Formula?
I am currently trying to get 2 of the same fields to look for a discrepancy between the two.
The formula I am using is:
function _Sum() {
var total = 0;
for (var count=0; count<_Sum.arguments.length; count++) {
if ( _Sum.arguments[count] )
total += _Sum.arguments[count];
}
return(total);
}
event.value = _Sum(((this.getField("discrepancy")).value*(-1)))
Is there something I am missing. I am also trying to get a field to still be editable and still calculate the numbers. What should I do to get this to work properly?
