I have a problem with cascading question in combination with randomization. In my questionnaire, the user would choose multiple from a list of topic. If they chose more than 3 topics, it should show only 3 random topics from previous selected list.
I have tried to create 3 random numbers, using the code as below. However, there is still repetition.
Any suggestion on how to improve it would be appreciated!
Welcome back to the community, @cin_hn! Maybe you will need to share the relevant part ofyour XLSForm to the community so that they could help you out if it’s possible.
Hi @wroos,
Thank you for the suggestion. The solution you suggested above was mine; however, it’s not applicable in the situation - I’m able to make the cascading but having a trouble with the automation, and wondering whether it’s resulted from the combination between cascadiing and automation.
Anyway, I have shared above the part of my code for calculation