The value entered does not match the format of the field.
Hi, I keep getting this error whenever the ("A" + i) fields are all blank. Can someone kindly help me refine the script to ensure that whenever ("A" + i) are all empty, this field should remain blank as well.
Thanks.
var sum = 0;
var sumText = 0;
for (var i = 1; i < 150; i += 1) {
if (getField("V" + i).value == "Yes") {sum += 1}
if (this.getField("A" + i).value != "") {sumText += 1}
event.value = sum/sumText;
}
