- Posts: 50
- Thank you received: 2
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Change the label set of a question depending on an attribute
- josegovia
- Topic Author
- Offline
- Senior Member
Less
More
5 years 4 months ago #177005
by josegovia
Change the label set of a question depending on an attribute was created by josegovia
Hello
I would like to change the label set of a matrix question, depending on an attribute of the respondents table.
I have 4 different label sets and they are the same size in both sub questions and answer options.
Do you know how I could do it?
Thank you
José
I would like to change the label set of a matrix question, depending on an attribute of the respondents table.
I have 4 different label sets and they are the same size in both sub questions and answer options.
Do you know how I could do it?
Thank you
José
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
5 years 4 months ago #177026
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Change the label set of a question depending on an attribute
You cannot directly change the label set. You could use conditional tailoring/piping -
manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, josegovia
The topic has been locked.
- josegovia
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 50
- Thank you received: 2
5 years 4 months ago #177078
by josegovia
Replied by josegovia on topic Change the label set of a question depending on an attribute
Thank you.
I'm going to try it.
I'm going to try it.
The topic has been locked.
- josegovia
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 50
- Thank you received: 2
5 years 4 months ago #177099
by josegovia
Replied by josegovia on topic Change the label set of a question depending on an attribute
I'm sorry, but I'm not able to do it.
I have attribute_1 with these options, 1, 2 or 3, and I need to change the text of a subquestion depending on what appears in the attribut_1.
For example,
If attribute_1 = 1 then the question "P1Coment" and the sub-question "Coment2" = "Cow"
If attribute_1 = 2 then the question "P1Coment" and the sub-question "Coment2" = "Sheep"
If attribute_1 = 3 then the question "P1Coment" and the sub-question "Coment2" = "Horse"
How can I do it?
Thank you
I have attribute_1 with these options, 1, 2 or 3, and I need to change the text of a subquestion depending on what appears in the attribut_1.
For example,
If attribute_1 = 1 then the question "P1Coment" and the sub-question "Coment2" = "Cow"
If attribute_1 = 2 then the question "P1Coment" and the sub-question "Coment2" = "Sheep"
If attribute_1 = 3 then the question "P1Coment" and the sub-question "Coment2" = "Horse"
How can I do it?
Thank you
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
5 years 4 months ago #177108
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Change the label set of a question depending on an attribute
Please export a surveyfile (LSS) with the relevant questions and state the version of LimeSurvey you use.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- josegovia
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 50
- Thank you received: 2
5 years 4 months ago #177220
by josegovia
Replied by josegovia on topic Change the label set of a question depending on an attribute
I have found a solution and it is to put the texts of the sub-questions as attributes in the table of tokens.
Thanks for listening.
a greeting
José
Thanks for listening.
a greeting
José
The topic has been locked.