Hi,
I'm trying to resolve a problem I have building my flux for my survey on Qualtrics.
At the beginning of my questionnaire (Q1) I have a matrix with several elements A, B, C, D... as well as 7 frequencies of use from "Never" to "Every day" encoded from 1 to 7 for each of these elements.
I then ask the participant to tell me at which frequencies he uses each of the following elements A, B, C, D... (1 response for each element)
In the creation of my flux, I would like to prioritize the elements (A,B,C...) who has a frequencies value higher than 5 to be assigned to my participants. (So if
For example, if I have A>5, then the participant will be assigned A for the rest of my questions, the same for B,C etc...
So I created several "Branch if", with for example if A>5 then my participant will be assigned A for the rest of the questionnaire; no problem. I used the "Embedded Data" to then make my element of interest = A.
Otherwise, if all the elements <5 then the participant is randomly assigned one of the elements at random (classic randomization of A,B,C etc...) for the rest of the questionnaire, no problem.
My real problem comes from the fact that if a participant chooses several elements >5 (for example A>5 and B>5), qualtrics will assign him A in priority because he is higher in the list. I can't randomize a choice only among the items >5 selected by the participant.
I saw other people asking similar question such as : https://www.qualtrics.com/community/discussion/4019/create-randomisation-within-the-condition.
But after several tries, I still can't understand how I could do this.
Thank you.
Page 1 / 1
Using, JavaScript we can do this, on click of next button, check how many elements are marked greater than 5, push them into any array and get random element from this array. Assign this element to an embedded data.
Thank you.
In your opinion, is JavaScript mandatory for this or do you think another solution is possible using the fluxs ? I'll start looking into the js solution.
Today I got a new idea,
Would it be possible to create a list (with embeded data ?) for each elements>5 then at the end, ask the flux to pick a random elements for the list for every response>5 ? Is this possible on the flux ? Thanks.
Please share!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.