Reply To: Question conntroller answering with number keys

PennController for IBEX Forums Support Question conntroller answering with number keys Reply To: Question conntroller answering with number keys

#8061
Jeremy
Keymaster

Hi Danil,

This is an issue with the native-Ibex Question controller. Here’s a workaround:

Add a file named global_z.css to your project’s Aesthetics folder:

.PennController-myController.Question-Question ol {
    list-style: none;
    display: flex;
}
.PennController-myController.Question-Question li {
    min-width: 5em;
    pointer-events: none;
}

Then you can use this in your script:

newController("myController", "Question", {
    q: Question_asked,
    as: ["кон","коне","коня"],
    randomOrder: true,
    hasCorrect: 2
})
    .center()
    .print()
    .log()
    .wait()
    .remove()

Replace myController both in the css file and in your script if you want to use a different name

Jeremy