Reply To: Troubleshooting

PennController for IBEX Forums Troubleshooting Reply To: Troubleshooting

#7629
noedoc1
Participant

Hi Jeremy!

I’m importing an old experiment form IBEX and I’m having some problems.

1. It’s a SPR experiment and I have comprehension questions in some items so I decided to do two templates: one for the items without questions and one for the items with questions. I’m getting this error and I don’t understand what I’m doing wrong:

[14:15:34] Found an existing Text element named “ ”–using name “ 4” instead for new element (newTrial: 20)

This is the demonstration link: https://farm.pcibex.net/r/gfhJxp/

2. The second problem I have is that I have four answer options and I want participants to answer pressing 1, 2, 3 or 4. I also want the answers to be presented randomly. However, the way that I’ve programmed it, the “2” key is linked to the second answer that I programmed, but not necessarily to the second answer displayed in the experiment. I tried placing the keys after the shuflle() command, but that didn’t work either. Do you know if there’s a way around this? Here’s what I have so far:


newText("¿Quiénes pueden subirse a la montaña rusa?")
    .center()
,
    newButton("1", "les niñes")
    .print()
,
    newButton("2", "los adultos")
    .print()
,
    newButton("3", "personas mayores de 10 años")
    .print()
,
    newButton("4", "todos")
    .print()
,
newSelector()
    .add(getButton("1"), getButton("2"), getButton("3"), getButton("4"))
    .shuffle()
    .keys("1", "2", "3", "4")
    .log()
    .wait()
)

As always, thanks so much for all your help!

Noelia.