Pre-fill or set default answer to List Radio question based on previous answer

More
3 months 3 days ago #156954 by gabrielsmith
gabrielsmith created the topic: Pre-fill or set default answer to List Radio question based on previous answer
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.

Please Log in to join the conversation.

More
3 months 3 days ago #156958 by DenisChenu
DenisChenu replied the 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","")}

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: gabrielsmith

Please Log in to join the conversation.

More
3 months 3 days ago #156964 by gabrielsmith
gabrielsmith replied the 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...

Please Log in to join the conversation.

More
3 months 2 days ago #156982 by DenisChenu
DenisChenu replied the 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 (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .
The following user(s) said Thank You: gabrielsmith

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now