Randomize blocks

Quinty15Quinty15 The NetherlandsCommunity Member Qubie ✭

Randomize blocks

Hi everyone,

For my thesis I have to do an online experiment with 4 conditions. I cannot figure out how to randomize different blocks with the same image..

What I want to accomplish: the same image (randomized of 4) in different blocks.

In addition, of the 4 conditions, 2 are dependent on nationality (Dutch and French). Is it possible to show a different condition depending on the answer respondents give on their nationality?

I hope this is clear.. I would really appreciate your help.

Best Answer

  • TomGTomG Raleigh, NC Wizard ✭✭✭✭✭
    Accepted Answer

    Save the randomly chosen image url to an embedded variable, then pipe it into your four blocks inside an image tag:

    <img src='${e://Field/my_random_image_url}' alt='my image'>
    

    You can use display logic or survey flow branching based on the nationality question to show different conditions.

Answers

  • Quinty15Quinty15 The NetherlandsCommunity Member Qubie ✭

    Thank you very much! Can you mabe explain a little more about 'save the randomly chosen image url to an embedded variable'?

  • TomGTomG Raleigh, NCCommunity Member Wizard ✭✭✭✭✭

    @Quinty15 said:
    Thank you very much! Can you mabe explain a little more about 'save the randomly chosen image url to an embedded variable'?

  • Quinty15Quinty15 The NetherlandsCommunity Member Qubie ✭
    edited April 2018

    I still cannot figure out..

    low

    or

    low

    but thanks for the help anyway!

Sign In to Comment