:random item not random, or cached?

It seems that “:random item” is either cached, or just not random? Have you experienced similar? I see old posts related to this.

I have a repeating group “TestGroup” with 10 items.
I have a text field “TestText”. I set up the text field’s value to be MyGroup:random item’s value and MyGroup:random item’s value and MyGroup:random item’s value. (So the same expression copied 3 times next to each other.)

In the text field I would expect 3 random values to show up. But they are always the same. So it seems :random item only randomizes once, and then reuses the same random item? Had any similar experiences?

1 Like

Random item is not mathematically random. All it does it generate a random index and then fetch that item. Additionally, if you use :random item in the same context, sometimes that random index is re-used.

1 Like