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

How can i show only N questions of one grp? - by: Denni

$
0
0
Hey, I also need to show only one question within a question group. Therefore I used following code as suggested in the description of the question group: <script type="text/javascript" charset="utf-8">

$(document).ready(function() {

showQuestions(1);

function showQuestions(showNum) {

$('div[id^="question"]').hide();
$('div[id^="question"]').each(function(i) {
if (i < showNum) {
$(this).show();

Also I enabled Java. But all the questions in the question group appear :( What could be my mistake? Do I need to use/fill in the field "randomization group"? Any help would be largely appreciated!!

Viewing all articles
Browse latest Browse all 17529

Trending Articles



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