See if a constructed list contains an item in free format question

Hi all,

I wonder if there is a way to do the following: I have a predefined list of combinations in a free format question, and in each question of the questionnaire I randomly choose and use one of them. The problem is, the combinations cannot be repeated, so I 'll have to check if they have been already used along the questions. What I'm thinking of doing is creating a constructed list and, if the combination isn't already in it, add it to that list, and then use it. So, each time I randomly pick up a combination, I would check if the constructed list already has it, and if it hasn't, use it and add it to the constructed list. The problem is that, after looking at the SSI Web Documentation, I can't seem to find a function that allows me to see if an item is present in a list or not.

I hope I'm putting this clear. Also, perhaps there is a much more easy and straight way to do this, but I'm not seeing how. Does anybody know how can I achieve this?

Thanks,
João

Resolved
13 replies