Welcome to the LimeSurvey Community Forum

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

Check if previous answer yes show next question in Array Dual Scale

  • burhandodhy
  • burhandodhy's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
8 years 4 months ago #129245 by burhandodhy
Hi i have 2 questions A1 and A2... A1 is array dual scale type and other A2 is simple yes no ... The thing i want is if the both answer of array dual scale are yes than show the A2 question ...
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 4 months ago #129253 by tpartner
For relevance purposes, to access the answer for scale-1, you need to use something like Qcode_SQcode_0. For the scale-2 answer it would be Qcode_SQcode_1.

So, with the following...
- Question code = Q1
- Sub-question code = SQ001
- "Yes" answer code = A1 (in both scales)

The relevance on the second question would be:
Code:
{Q1_SQ001_0 == 'A1' && Q1_SQ001_1 == 'A1' }

Sample survey attached:

File Attachment:

File Name: limesurvey...4(1).lss
File Size:16 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose