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

Limit number of questions in survey - by: Breut

$
0
0
Hi,

@Tony, the reason why I need to use question by question mode is because I need total randomisation of the questions. In another thread I posted the issue of totally randomizing between groups but as this wasn't answered I needed to revert to using the question by question mode.

This being said, I found an almost working solution using the Expression Manager but it's not that elegant so comments and improvements welcome.

Assume I want 10 questions of N to be displayed
  • I defined a hidden question before all regular questions with code numQuestions and numerical value = 0
  • I then added 1 to that numerical value each time a question is shown
  • I then added the relevance equation numQuestions<=10

This way of working does the trick, however:
  • In each "regular" question I now have a numerical value showing up as adding 1 to the numQuestions variable shows that new value. Question is can I hide this value?
  • When the relevance equation is false (so numQuestions is > 10) an "empty" question is shown while taking the survey that needs a click on the "next" button in order to move on. This is really awkward. Why is this question shown as the relevance equation is false? How can I get rid of it?

Thanks for advising on whether this is a good way to go about this and how to solve these issues.

PS: To be even more specific, there are multiple numQuestions variables running through each other as they mimick the 'groups' I mentioned before (so numQuestionsG1, numQuestionsG2, etc). Again, this works fine but shows an "empty" question per group the moment the relevance equation goes over the threshold of 10 shown questions.

Viewing all articles
Browse latest Browse all 17529

Trending Articles



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