Hi all, I want to randomly present 20 pictures, which are randomly paired with 20 sentences. The order for both pictures and sentences are expected to be randomized.
However, if I use loop and merge, the pairing between pictures and sentences will be fixed; if I use embedded data function, The pictures and photos will appear randomly in each iritation so that the same picture/ photo will show up multiple times.
Is there any way I can achieve this? Or any hint on using Javascript to achieve this?
Thank you so much in advance!!!
Solved
Randomize embedded data with no repetition
Best answer by rondev
Yes, using java script you can create two arrays, then shuffle them and set them to an embedded data.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
