Randomize items in repeater

Just use the full code example that Yisrael has given for you and change the number from 3 to 2, then just change the repeater and dataset names to match your own used elements and dataset etc.