- Posts: 11
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How can i show only N questions of one grp?
- willyx
- Topic Author
- Offline
- New Member
Less
More
13 years 2 months ago #55016
by willyx
Replied by willyx on topic How can i show only N questions of one grp?
no sorry, doesn't work
Versione 1.91RC2 Build 9672
U can test id as admin if u want, default passw
Versione 1.91RC2 Build 9672
U can test id as admin if u want, default passw
The topic has been locked.
- Denni
- Offline
- New Member
Less
More
- Posts: 1
- Thank you received: 0
10 years 7 months ago #99202
by Denni
Replied by Denni on topic How can i show only N questions of one grp?
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!!
$(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!!
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
10 years 7 months ago #99234
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic How can i show only N questions of one grp?
Denni : 2 years ago, LimeSUrvey version is 1.91. Now it's 2.0.
Please : make a new topic. I close this one ....
Please : make a new topic. I close this one ....
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
10 years 7 months ago #99237
by Mazi
If you want to randomly show 1 of X questions of a question group, have a look at this tutorial:
" How to randomly show 1 of X questions at a Limesurvey survey "
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic How can i show only N questions of one grp?
Hi Denni,Denni wrote: Hey, I also need to show only one question within a question group.
If you want to randomly show 1 of X questions of a question group, have a look at this tutorial:
" How to randomly show 1 of X questions at a Limesurvey survey "
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.