Side by Side Question with constant sum and auto-complete | XM Community
Skip to main content
Hi,

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.
Are you wanting to keep it in this format for trend-ability with a previous survey?



I don't have an answer for you; however, I would recommend that you reconsider this layout as a survey question. This would be incredibly difficult to take on a mobile device, and some people might have a hard time taking this on a desktop or laptop.



Have you thought about breaking this into 4 separate questions?



This looks like a radio listening question, with a min set at 15 minutes. What if they don't listen during that time frame?

Leave a Reply