- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Pre-fill or set default answer to List Radio question based on previous answer
- gabrielsmith
- Topic Author
- Offline
- New Member
Less
More
6 years 8 months ago #156954
by gabrielsmith
Pre-fill or set default answer to List Radio question based on previous answer was created by gabrielsmith
Here's what I need to do:
If someone selects q1_A1, then q2_A1 will be selected. q2 is a hidden question on the next page. Both are List Radio questions.
I've looked at other forum replies, tried multiple expressions, and read all the documentation but can't seem to figure out how to do this.
If someone selects q1_A1, then q2_A1 will be selected. q2 is a hidden question on the next page. Both are List Radio questions.
I've looked at other forum replies, tried multiple expressions, and read all the documentation but can't seem to figure out how to do this.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
6 years 8 months ago #156958
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 Pre-fill or set default answer to List Radio question based on previous answer
Equation question type just after q1
{q2=(if(q1=="A1","A1","")}
{q2=(if(q1=="A1","A1","")}
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: gabrielsmith
The topic has been locked.
- gabrielsmith
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 8 months ago #156964
by gabrielsmith
Replied by gabrielsmith on topic Pre-fill or set default answer to List Radio question based on previous answer
THANK YOU! That worked for the List Radio, but what if q1 is a Multiple Choice type question? In this case:
If the first checkbox of q1 is selected (regardless of whether any of the other checkboxes are selected or not), the first option of the List Radio question will be selected. I tried the same equation but it doesn't work...
If the first checkbox of q1 is selected (regardless of whether any of the other checkboxes are selected or not), the first option of the List Radio question will be selected. I tried the same equation but it doesn't work...
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
6 years 8 months ago #156982
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 Pre-fill or set default answer to List Radio question based on previous answer
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: gabrielsmith
The topic has been locked.