Randomization + Prioritization | XM Community
Skip to main content
Solved

Randomization + Prioritization

  • September 3, 2018
  • 3 replies
  • 25 views

Forum|alt.badge.img+9
How to randomly pick 2 answer from a question with prioritization if a code is selected. then this will be the filter for the succeeding question.

Best answer by MohammedAli_Rajapkar

Check if below helps... Add a display logic to all choice which should be shown only if a code is selected and randomize all choice. Through this, the choice will only be shown if the respective code in the previous question is selected and the choice will be shown in randomized order.
View original

3 replies

MohammedAli_Rajapkar
QPN Level 5 ●●●●●
Forum|alt.badge.img+20
Check if below helps... Add a display logic to all choice which should be shown only if a code is selected and randomize all choice. Through this, the choice will only be shown if the respective code in the previous question is selected and the choice will be shown in randomized order.

Forum|alt.badge.img+9
  • Author
  • QPN Level 1 ●
  • 12 replies
  • September 3, 2018
I have multiple answer question, among all the selected answer from this question I will randomly pick 3 answer but if a specific category has been selected this category will be automatically pick and I only need to randomly pick 2 answer instead of 3. I'm planning to make this via Java script but I'm not sure which syntax to be use.

LaurenK
Former XM Community Team Member
Forum|alt.badge.img+13
  • Former XM Community Team Member
  • 900 replies
  • September 4, 2018
Hi @Kennedy_Isip_Kantar! It sounds like you are looking for a custom code solution! I've gone ahead and moved your question to the Developer Corner category.

Leave a Reply