I have been trying to implement the hidden multiple choice question from two single choice question with no luck this far. I have been trying to implement the solutions proposed by tpartner but cannot comprehend the code needed.
Consider I have two questions:
xc06 "Have you smoked during your lifetime?" with 7 options ranging from None to 40+ times
xc07 "How many cigarettes have you smoked during last 30 days?" with 6 options ranging from Not at all to 20+ per day
The xc07 is not shown to those answering psotive to first question.
Then I have computed two hidden equations (eqsm1 for lifetime smokign status and eqsm2 for current smoking) with status 0 indicating nonsmoker and 1 - smoker.
The question I'd like to filter based on these equations is an array with two rows and a number of columns for age when they started smoking.
Once I would have the multiple choice question from those answers in two equations I'd be able to filter the array.
Anybody can assist me with the code for a hidden multiple choice question in such scenario?
Thank you in advance,
Marcis