Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Default array sub-question answer, based on previous array sub-question answer

  • Waseek_Ishfaque
  • Waseek_Ishfaque's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #177324 by Waseek_Ishfaque
Dear All,

I am looking for a solution for prefilled /default answer of one Array sub-question, based on previous array sub-question answer.

For example, First array type question Q1 has 3 sub-questions SQ001, SQ002, SQ003 and three answer options A1, A2 and A3. Second array type question Q2 also has 3 subquestions SQ001, SQ002, SQ003 and three answer options A1, A2 and A3. Now in Q1, if someone checks/selects A1 answer option for SQ001, I want the A1 option for SQ001 in Q2 to be automatically checked/prefilled. The "No answer" option for the survey is turned off.

I tried creating a (hidden) equation type question and putting {Q2_SQ001= if(Q1_SQ001=="A1","A1","")} with no result.

Can anyone please help me with a solution for this? You can find the .lss file attached:

File Attachment:

File Name: limesurvey...5664.lss
File Size:22 KB


I am using Version 3.15.5


Many thanks in advance. :)


Ishfaque
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose