Answered
My first experience on this site was F-A-N-T-A-S-T-I-C, so I am back hoping for the same outcome.
I am having a problem averaging fields that or either null or zeros.
I don't know if this can be done using Formcal, but here is the scenario…I have 20 fields, and I want to average all 20 fields if they contain non-zero or non-null values.
If they have null or zero values, then I want to ignore those fields. In other words, if 5 of the 20 fields have zeros or blanks, then I want to total the other 15 fields and divide by 15 to find the average (instead of all 20 fields.)
for this purpose you can use a loop function in FormCalc.
Therefore all the numeric fields need the same naming.
The script than has to be put into the calculate:event of the field for the average.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs