Yes, I was looking for FormCalc, not Jscript. But thanks.Figured it out:Changed all the checkbox object names to 'box'. In the Hierarchy window, it renames the objects box[1], box[2], box[3].Now the for statement worksvar total = 0;for a=1 upto 3 do if (box[a]>0) then total=total+1; endifendf...