- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Skip Logic Text Box Question
- puku19inci
- Topic Author
- Offline
- New Member
Less
More
5 years 2 months ago #180279
by puku19inci
Skip Logic Text Box Question was created by puku19inci
Hi
I have a survey were the last question in a group is a text-box answer. All my question groups are hidden based on condition codes.
Question 11 in group (2) is connected to the yes/no question 2 in group (1). However, if a participant does or does not put an answer in to the text box for question 10, I still want them to go to question 11.
However, because the group 2 questions are hidden due to the no answer in question 2, they cannot do this, even if I use this relivence code:
(Q2.NAOK==2) or (is_empty(Q10.NAOK)) or (Q10.NAOK == Q10)
If I do this, it totall skips group 2 and goes to group 3.
How do you use conditions/skip logic for text questions, so it still proceeds to the next question that is already hidden?
Thank you
I have a survey were the last question in a group is a text-box answer. All my question groups are hidden based on condition codes.
Question 11 in group (2) is connected to the yes/no question 2 in group (1). However, if a participant does or does not put an answer in to the text box for question 10, I still want them to go to question 11.
However, because the group 2 questions are hidden due to the no answer in question 2, they cannot do this, even if I use this relivence code:
(Q2.NAOK==2) or (is_empty(Q10.NAOK)) or (Q10.NAOK == Q10)
If I do this, it totall skips group 2 and goes to group 3.
How do you use conditions/skip logic for text questions, so it still proceeds to the next question that is already hidden?
Thank you
The topic has been locked.
- elissa
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 193
- Thank you received: 69
5 years 2 months ago - 5 years 2 months ago #180317
by elissa
Elzbieta Lesinska
LS voluntary Polish translator and supervisor
Replied by elissa on topic Skip Logic Text Box Question
I'm not sure if I understand but if yes, I would pull out Q11 from the group and create a separate group only for it. Maybe the same is needed for Q10.
Elzbieta Lesinska
LS voluntary Polish translator and supervisor
Last edit: 5 years 2 months ago by elissa.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- davebostockgmail
- Offline
- Elite Member
Less
More
- Posts: 166
- Thank you received: 26
5 years 2 months ago #180429
by davebostockgmail
Replied by davebostockgmail on topic Skip Logic Text Box Question
You can use strlen(QCode.value) to see if anything has been entered into a text box answer
so strlen(Q11.value)>0 will only be true when something is entered into that box.
so strlen(Q11.value)>0 will only be true when something is entered into that box.
The topic has been locked.