Do you consider shuffling 6 numbers and pull that number one at a time? You may use Javascript to shuffle numbers or you can use a Trigger to assign 6 Variables using this logic below.
Variable1 = Random (6) Variable2 = Random (6) Variable3 = Random (6) Variable4 = Random (6) Variable5 = Random (6) Variable6 = Random (6)
On variable changes trigger: if Variable2 is equal to Variable1, Set Variable2 = 0 do the random again -> Variable2 = Random (6)
if Variable3 is equal to Variable1, or equal to Variable2, Set Variable3 = 0 do the random again -> Variable3 = Random (6) . . . Continue until Variable 6
2 Replies
Hi,
Do you consider shuffling 6 numbers and pull that number one at a time?
You may use Javascript to shuffle numbers or you can use a Trigger to assign 6 Variables using this logic below.
Variable1 = Random (6)
Variable2 = Random (6)
Variable3 = Random (6)
Variable4 = Random (6)
Variable5 = Random (6)
Variable6 = Random (6)
On variable changes trigger:
if Variable2 is equal to Variable1, Set Variable2 = 0
do the random again -> Variable2 = Random (6)
if Variable3 is equal to Variable1, or equal to Variable2, Set Variable3 = 0
do the random again -> Variable3 = Random (6)
.
.
.
Continue until Variable 6
I can't understand this at all.
This discussion is closed. You can start a new discussion or contact Articulate Support.