- Posts: 12
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change from answer options in random order to non-random order in the LSG-file
- MattiasL
- Topic Author
- Offline
- New Member
Less
More
5 months 2 days ago #252605
by MattiasL
Change from answer options in random order to non-random order in the LSG-file was created by MattiasL
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Cloud Version 3.28.76
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: fruity
==================
Hi!
I screwed up by creating hundreds of questions where the answer options are in random order (answer options are in List (radio) - Bootstrap Buttons format). I want to change so that the answer option for each question is the same order for all questions. It would take a long time and lead to potential errors in the survey due to potential mistakes if I would manually go into each question and click Display -> Random Order -> No. Is there a way to download the survey LSG file and do a simple search and replace instead? Or perhaps there is another efficient way to solve my problem?
Thank you in advance!
Mattias L
Your LimeSurvey version: LimeSurvey Cloud Version 3.28.76
Own server or LimeSurvey hosting: LimeSurvey hosting
Survey theme/template: fruity
==================
Hi!
I screwed up by creating hundreds of questions where the answer options are in random order (answer options are in List (radio) - Bootstrap Buttons format). I want to change so that the answer option for each question is the same order for all questions. It would take a long time and lead to potential errors in the survey due to potential mistakes if I would manually go into each question and click Display -> Random Order -> No. Is there a way to download the survey LSG file and do a simple search and replace instead? Or perhaps there is another efficient way to solve my problem?
Thank you in advance!
Mattias L
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
5 months 2 days ago #252606
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Change from answer options in random order to non-random order in the LSG-file
Hi,
in such cases the first answer is:
Did you try in a small test survey?
Joffm
in such cases the first answer is:
Did you try in a small test survey?
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: MattiasL
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
5 months 2 days ago #252608
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 Change from answer options in random order to non-random order in the LSG-file
> I want to change so that the answer option for each question is the same order for all questions.
If i don't make error : it's the behaviour of 5.X if answers have same code.
If i don't make error : it's the behaviour of 5.X if answers have same code.
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 following user(s) said Thank You: MattiasL
Please Log in to join the conversation.
- MattiasL
- Topic Author
- Offline
- New Member
Less
More
- Posts: 12
- Thank you received: 0
5 months 2 days ago #252611
by MattiasL
Replied by MattiasL on topic Change from answer options in random order to non-random order in the LSG-file
Thanks! I found it using a smaller test survey as you suggested. I could simply search and replace throughout entire question group LSG-file by searching:
"<attribute><![CDATA[random_order]]></attribute>
<value><![CDATA[1]]></value>"
and replace all with:
<attribute><![CDATA[random_order]]></attribute>
<value><![CDATA[0]]></value>
Thanks again!
"<attribute><![CDATA[random_order]]></attribute>
<value><![CDATA[1]]></value>"
and replace all with:
<attribute><![CDATA[random_order]]></attribute>
<value><![CDATA[0]]></value>
Thanks again!
Please Log in to join the conversation.