Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

How to display question and sub-questions one at a time in Lime Survey?

More
3 weeks 2 days ago - 3 weeks 2 days ago #265565 by sish
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.56
Own server or LimeSurvey hosting:
Survey theme/template:
==============
 I have created a survey in Lime Survey and included a question of type "Array (Numbers)." I want the survey to display the main question with only one sub-question at a time on each page. Once the respondent answers the first sub-question, the next sub-question should appear on a new page, and so on.How can I set this up in Lime Survey? 
Last edit: 3 weeks 2 days ago by sish.

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 2 days ago #265569 by holch
Not sure what ChatGPT has to do with this, but for everything Limesurvey stay away from ChatGPT. All answers that I have seen so far sound good, but are "hallucinations". ChatGPT knows nothing about Limesurvey. Not its fault, probably wasn't trained on it.

I want the survey to display the main question with only one sub-question at a time on each page.


There is no setting for this in Limesurvey. You might achieve something like this via Javascript, but I am not aware of a workaround for this so far. So you will need to create your custom code.

Or you create as many array questions as you want answers and show them one by one. Same effect, just more questions to create.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 2 days ago - 3 weeks 2 days ago #265573 by Joffm
Hi,
may I ask "when is a subquestion answered?"
Array(numbers) is multi punch.
So the respondent has to click to submit the subquestion.

And this results in several questions with one subquestion as @holch.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 weeks 2 days ago by Joffm.

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 weeks 2 days ago #265586 by DenisChenu
Don't one question, with X sub-questions.
Use X questions with one sub-question

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.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose