Script Syntax
I have this code where I would like to change the criteria. Right now it reads that if a particular field is filled in, then a range of fields will be added together
(see below). How do I change it so that it looks for a dropdown response before performing the calculation?
if (this.getField("Date").valueAsString==""") event.value = "";
else {
var total = 0;
for (var I=1; I<=17; i++)
total+=Number(this.getField("Text"+i).value);
event.value = total;
}
