Solved
display logic based on combination of answers in matrix question
I have a question about the religion of each parent of the respondent. This matrix question uses drop down lists of many religions, and asks the respondent to choice one religion for each parent that is listed (each parent has a row, the drop down boxes are in the column).
If each parent has the same religion, I want to skip the respondent out of the next question. But how to gather the info that could be used in display logic to skip the respondent out if all of their parent/parent-figures are reported to have the same religion?
This becomes a little trickier because respondents will not all have the same number of parents/parent-figures. Some will have mother bio, father bio, step-father, etc. If they only have one parent, then there is not need to check to see if all parents are the same religion. Only parent figures that are selected in earlier questions are displayed in the matrix question (each has a row) that asks the respondent to pick a religion for each parent from a drop down box.
I thought I could simply count how many parents/parent figures the respondent selected in two earlier multiple response multiple choice questions. Then I thought that I would get the count on the number of parents who were reported as, say, Catholic, and skip the respondent out of the next question if the total number of parent figures equaled the total count of Catholics. But I can't seem to get that info together to create an embedded variable.
And maybe there are better ways to do this.
Thanks for considering.
--David
Best answer by MohammedAli_Rajapkar
Hi DavidS,
Its a nice workaround!
Regarding the SelectedChoiceCount, our support page does have some information about it. You can refer it here: https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/piped-text-overview/#PipingFromAPreviousQuestion
Also, if you want to avoid the JavaScript to auto-submit the question then you can follow the below steps:
- Move the dependent question (the question which will be based upon the condition) in an independent block
- In SurveyFlow capture both the counts in an embedded data.
- Add a Branch logic if both counts are not equal then ask the block (which have only one question)
Hope you got it...
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
