Using Arrays To Show Random Values | XM Community
Skip to main content

Hi,
I am trying to assign values to the paintings that participants have chosen before(paintings were shown in pairs and participants picked one of them). I was able to bring chosen paintings via display logic. Now what ı need to do is assigning values (-10,-5,-3,-2,1,4,6,10) to chosen paintings(one painting per page) . One value should be randomly assigned to one painting. information will be presented as "you gained x points by choosing this painting" where x will be one of the mentioned values. Values should not be repeated. Since ı do not have much paintings to pair with values ı can also assign them by shuffling array once and then indexing. How can I do this in Qualtrics?

One of the way is to create 8 embedded data (assuming we will be getting 8 painting selections) and set it's value from a shuffled array.


Leave a Reply