Reply To: Troubleshooting

PennController for IBEX Forums Troubleshooting Reply To: Troubleshooting


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:

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?")
    newButton("1", "les niñes")
    newButton("2", "los adultos")
    newButton("3", "personas mayores de 10 años")
    newButton("4", "todos")
    .add(getButton("1"), getButton("2"), getButton("3"), getButton("4"))
    .keys("1", "2", "3", "4")

As always, thanks so much for all your help!