Solved
Randomly generate piped text answer
I need to pipe in text from a previously answered question to a question. The part that I can't figure out, is that it needs to be randomly generated from 1 of two questions. In survey below, they are asked to name a pleasant event and then an unpleasant event. The next question is where I need to generate the piped text: "Please consider the following event which has been selected at random from the events that you have just provided:"
https://wakeforest.qualtrics.com/jfe/form/SV_ey8e9DPpNWTp9iJ
Best answer by AHammell
One way you could do this is to set up randomized embedded data like below, at the beginning of your survey flow. In this, you randomize participants into one of two conditions.
!
Then, back on your survey edit page, create the "Please consider the following event which has been selected at random from the events that you have just provided:" question _twice_. In the first copy of the question, put the "pleasant event" piped text, in the second copy of the question, put the "unpleasant event" piped text. Then, set display logic so that only the pleasant or unpleasant text question is shown depending on the Embedded Data Field "Condition" that you created in your survey flow. It would look something like this:
!
You would set the display logic like so:
!
Then, back on your survey edit page, create the "Please consider the following event which has been selected at random from the events that you have just provided:" question _twice_. In the first copy of the question, put the "pleasant event" piped text, in the second copy of the question, put the "unpleasant event" piped text. Then, set display logic so that only the pleasant or unpleasant text question is shown depending on the Embedded Data Field "Condition" that you created in your survey flow. It would look something like this:
!
You would set the display logic like so:
!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
