Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Count radio list answers and display boilerplate text - by: tpartner

$
0
0
I would simplify it by using 2 hidden equation questions (let's call them equation1 and equation2) to record the counts of "Option 1" and "Option 2". Something like this in those questions:
{sum(Q1=='A1', Q2=='A1', Q3=='A1', Q4=='A1', Q5=='A1')}
{sum(Q1=='A2', Q2=='A2', Q3=='A2', Q4=='A2', Q5=='A2')}

Then, you can use something like this in the boilerplate:
{if(equation1 > equation2, 'You answered "Option 1" more than "Option 2"', 'You answered "Option 2" more than "Option 1"')}

Sample survey attached.

File Attachment:

File Name: limesurvey_survey_785342.lss
File Size: 23 KB

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>