Reply To: repeating commmands

PennController for IBEX Forums Support repeating commmands Reply To: repeating commmands

#6521
Jeremy
Keymaster

Hi,

I think I would need more detail to help you with your issue. Do you need to display several lines of text (questions) vertically on the page, randomly ordered, and invite your participants to click on one those lines? If so, you could do something like this:

newTrial(
  newText("q1", "What's up?").print()
  ,
  newText("q2", "How are you doing?").print()
  ,
  newText("q3", "All good?").print()
  ,
  newText("q4", "How's it going?").print()
  ,
  newSelector("choice")
    .add( getText("q1") , getText("q2") , getText("q3") , getText("q4")  )
    .shuffle()
    .wait()
)

Jeremy