How can I select a random item from a list question (without creating a roster)?
A linked question filtered by @rowcode>(int)Math.Floor(NUMBEROFITEMS*Quest.IRnd())+1 could work in theory, but I could not find a function counting NUMBEROFITEMS.
Create a string variable named selected defined as:
ml.Select(x=>x.Item2).ToArray()[(long)Math.Floor(Quest.IRnd()*ml.Count())]
where ml is the name of the members list question.
Then add a static text:
“Interviewer, continue the rest of the interview with %selected%.”
Enable the remaining questions only when ml.Count()>0