- Posts: 20
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Codes for subquestions
- Luissa
- Topic Author
- Offline
- Junior Member
Less
More
1 year 1 month ago - 1 year 1 month ago #241230
by Luissa
Codes for subquestions was created by Luissa
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)
Dear limesuvey team,
unfortunately I have one more question. During my survey creation I changed the codes for the subquestions by mistake. Now I'm wondering if I can fill in there everything I want or if there is anything to consider? Also does limesurvey automatically check if the codes (of the subquestions) are unique or can it happen that I have the same codes in two subquestions? I'm just asking because I'm worried that I get problems when I want to analyze the data in the end.
Kind regrards and thank you very much for your help,
Luissa
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
(Write here your question/remark)
Dear limesuvey team,
unfortunately I have one more question. During my survey creation I changed the codes for the subquestions by mistake. Now I'm wondering if I can fill in there everything I want or if there is anything to consider? Also does limesurvey automatically check if the codes (of the subquestions) are unique or can it happen that I have the same codes in two subquestions? I'm just asking because I'm worried that I get problems when I want to analyze the data in the end.
Kind regrards and thank you very much for your help,
Luissa
Last edit: 1 year 1 month ago by Luissa.
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12944
- Thank you received: 3979
1 year 1 month ago #241234
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Codes for subquestions
I hope you know how a QCode is generated.
As explained in the manual
[url] manual.limesurvey.org/ExpressionScript_-...code_variable_naming [/url]
Either
Single punch questions: QuestionCode
one-dimensional questions ,like arrays, multiple questions: QuestionCode_SubquestionCode
two-dimensional questions ,like array(text), array(number): QuestionCode_SubquestionCodeY_SubquestionCodeX
And as you may try by yourself, Limesurvey checks uniqueness of codes within a question
This means that you can use whatever code you want (up to five characters long)
And because the question code is part of the QCODE, of course you can use the same subquestion codes in different questions.
Joffm
As explained in the manual
[url] manual.limesurvey.org/ExpressionScript_-...code_variable_naming [/url]
Either
Single punch questions: QuestionCode
one-dimensional questions ,like arrays, multiple questions: QuestionCode_SubquestionCode
two-dimensional questions ,like array(text), array(number): QuestionCode_SubquestionCodeY_SubquestionCodeX
And as you may try by yourself, Limesurvey checks uniqueness of codes within a question
This means that you can use whatever code you want (up to five characters long)
And because the question code is part of the QCODE, of course you can use the same subquestion codes in different questions.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- Luissa
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 0
1 year 1 month ago #241236
by Luissa
Replied by Luissa on topic Codes for subquestions
Thank you very much for this very understandable explanation.
Please Log in to join the conversation.