- Posts: 1
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Q2 with chosen question after Q1
- CashMaker
- Topic Author
- Offline
- New Member
Less
More
8 years 4 months ago - 8 years 4 months ago #128657
by CashMaker
Q2 with chosen question after Q1 was created by CashMaker
I'm working off my first Survey and I have problem witch I can't solve.
For example
Q1 - drop down list or radio button (only one answer is possible)
You chose Q1
And the display Q2 - but I would like to narrow the possible answer from ex. drop down list to 2 or 3 possible answers
Q1 - (four answers) : A, B, C, D
Q2 - (eight answers): a, b, c, d, e, f, g, h.
if you chose Q1-B you can answer (see) Q2-c or Q2-d
Thank you any help.
For example
Q1 - drop down list or radio button (only one answer is possible)
You chose Q1
And the display Q2 - but I would like to narrow the possible answer from ex. drop down list to 2 or 3 possible answers
Q1 - (four answers) : A, B, C, D
Q2 - (eight answers): a, b, c, d, e, f, g, h.
if you chose Q1-B you can answer (see) Q2-c or Q2-d
Thank you any help.
Last edit: 8 years 4 months ago by CashMaker.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
8 years 4 months ago #128660
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Q2 with chosen question after Q1
Depends on your version of limesurvey. I think from ls 2.05 onwards you can use relevance equations with subquestions/answer options and this way you can show/hide certain answer options based on answers to previous questions quite easily.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
8 years 4 months ago #128668
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 Q2 with chosen question after Q1
I believe relevance is only available for sub-questions. In this case, where there are only four answers in Q1, I would create 4 versions of Q2 and display those with relevance.
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
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
8 years 4 months ago #128671
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Q2 with chosen question after Q1
Ohh, i didnt know that. Weird, why would we have this great feature for matrix and multiple answer questions, but not for list questions????
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
8 years 4 months ago #128706
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 Q2 with chosen question after Q1
Relevance for sub question is NOT the same than answer.
With subquestion : easy forcing QCODE_SQ01 to be null
With answer : QCODE must be allowed.
And actually we don't validate answer code (you can hack HTML to set an answer to anythink you want)
See bugs.limesurvey.org/view.php?id=9774
Denis
With subquestion : easy forcing QCODE_SQ01 to be null
With answer : QCODE must be allowed.
And actually we don't validate answer code (you can hack HTML to set an answer to anythink you want)
See bugs.limesurvey.org/view.php?id=9774
Denis
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.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
8 years 4 months ago #128710
by holch
OK, but that doesn't mean it wouldn't be great to have relevance for answer options. Because at the end of the day the subquestions from a multiple answer question and the answers of a single choice question are pretty similar. For me they are both answers, actually.
We can discuss the academic differences between the two, but I don't think it is really relevant. I just wanted to say that it would be great if we could have the relevance equation also for single choice questions.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Q2 with chosen question after Q1
DenisChenu wrote: Relevance for sub question is NOT the same than answer.
OK, but that doesn't mean it wouldn't be great to have relevance for answer options. Because at the end of the day the subquestions from a multiple answer question and the answers of a single choice question are pretty similar. For me they are both answers, actually.
We can discuss the academic differences between the two, but I don't think it is really relevant. I just wanted to say that it would be great if we could have the relevance equation also for single choice questions.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
8 years 4 months ago #128754
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 Q2 with chosen question after Q1
Hi,
But we must rewrite completely filter for answer and PHP control for answer. This explain why it not exist actually.
Denis
Yes, i think too it can be interesting, and more : really control answer in PHP.holch wrote: OK, but that doesn't mean it wouldn't be great to have relevance for answer options. Because at the end of the day the subquestions from a multiple answer question and the answers of a single choice question are pretty similar. For me they are both answers, actually.
But we must rewrite completely filter for answer and PHP control for answer. This explain why it not exist actually.
Denis
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.