I am looking to validate using a row totals for each column in a side by side question. Each column total is different e.g. Column 1 total must be less than or equal to 240 and Column 2 total must be less than or equal to 300. This repeats for Columns 3 (240) and 4 (300) -- see graphic.
!

I want the respondents to be shown that the total in the Columns are correct (green) or wrong (red) e.g. If in Column 1 the total number of minutes of each location is above 240-minutes the total will flag red.
I am a novice with Javascript.
Thanks.