Hi, Use FormCalc (not JavaScript). I think you have a "total" field for each week (i.e. total and Monday are siblings?). If so////////////////////////////////////////////////////////////////////// if (Activity == "Holiday")then $ = Sum(Monday, Tuesday, Wednesday, Thursday, Friday) ...