Implementation of ecalling patterns

PennController for IBEX Forums Support Implementation of ecalling patterns

This topic contains 2 replies, has 2 voices, and was last updated by Avatar iris98 4 days, 7 hours ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #6924
    Avatar
    iris98
    Participant

    Hi,

    I’m currently programming an experiment where participants have to remember a certain pattern while judging a sentence. The participants first see the pattern in a 3×3 matrix, after which they judge the sentence, and then they are asked to recall the previously studied pattern by clicking the same pattern in an empty 3×3 grid. I have made these grids in html, with large checkboxes. In the to be remembered pattern, the checks are disabled (so participants can’t change anything).

    I’d like to give participants feedback when they recall a pattern incorrectly. I have been trying to figure this out in the html script (by making the correct checkboxes in the empty grid ‘required’ or ‘obligatory’) but this has worked out so far. ‘Required’ doesn’t get picked up by html.checkboxWarning. ‘Obligatory’ also doesn’t work because ‘class’ in my html script is already filled with a reference to the style of the large checkbox (input.largerCheckbox).

    I was wondering if there is a way to fix this or do this differently in pcIBEX.

    Thank you so much in advance!

    Best,
    Iris

    #6925
    Jeremy
    Jeremy
    Keymaster

    Hi Iris,

    As you found out, Ibex does not detect any “required” field, but looks up an “obligatory” class instead. HTML elements can have more than one class, you just need to separate the classes with space characters, e.g <input type="checkbox" class="largerCheckbox obligatory">

    Alternatively, you could also do it exclusively using PennController commands: https://farm.pcibex.net/r/yqrvtr/ (don’t mind the “already part of Selector” errors—it’s a non-fatal bug I need to fix in PennController)
    The code isn’t super concise but it’s still readable and works pretty well

    Let me know if you have questions

    Jeremy

    • This reply was modified 5 days, 2 hours ago by Jeremy Jeremy.
    #6927
    Avatar
    iris98
    Participant

    Hi Jeremy,

    Thank you so much for the help, I really appreciate it!
    I will have to keep using the html solution because I present the patterns in a fixed order. This works perfectly, since all the other code was already in place.

    Thanks again and all the best,
    Iris

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.