In MEL how do I loop through dynamically generated answer keys to check if they were checked or not? I have shared a sample code block. I want to loop through answer keys. Here answer keys are being generated dynamically.
<question title="Preferrable Colors" type="4" key="#1">
<answer nextQuestionKey="END" key=**"#1_1"** position="0">
<text>Pink</text>
</answer>
<answer nextQuestionKey="END" key=**"#1_2"** position="1">
<text>Red</text>
</answer>
<answer nextQuestionKey="END" key=**"#1_3"** position="2">
<text>Violet</text>
</answer>
.......
<answer nextQuestionKey="END" key=**"#1_10"** position="10">
<text>Cyan</text>
</answer>
<text>Select the colors you prefer </text>
</question>
Please suggest me the best approach here.
Thanks