Group: Forum Members
Posts: 30,
Visits: 177
|
Hello,
My main task involves clicking a predetermined number of boxes within a fixed time window of 10 seconds, on each trial. Because there are individual differences in clicking speed, and because we want to adjust for task difficulty based on such differences, before the main task, participants will be requested to click as many boxes as possible (in order) out of a total of 50 boxes that are displayed on a regular grid, under the same time constraint (10 s). They will perform that twice.
Because the task involves clicking boxes, my first thought was to use <checkboxes> as in the sample code below. However, I'm starting to realize that is probably not the best approach, since I guess there is no easy way to apply the time constraint and/or retrieve the number of boxes that were clicked... Or maybe there is???
If this is a deadend, I would love to hear suggestions on how to best accomplish this! Any help would be greatly appreciated. Thank you very much in advance!
EN
--- <surveypage calibration_surveypage1> /caption = "GO!" /questions = [1-5=sequence(row1, row2, row3, row4, row5)] / itemfontstyle = ("Arial", 2.00%, false, false, false, false, 5, 1) / itemspacing = 0.0% / showpagenumbers = false / showbackbutton = false / showquestionnumbers = false / responsefontstyle = ("Arial", 2.0%, false, false, false, false, 5, 1) </surveypage>
<checkboxes row1> / caption=" " / options=("1", "2", "3", "4", "5", "6", "7", "8", "9", "10") / optionvalues = ("1", "2", "3", "4","5", "6", "7", "8", "9", "10") / required = true / orientation = horizontalequal </checkboxes>
<checkboxes row2> / caption=" " / options=("11", "12", "13", "14", "15", "16", "17", "18", "19", "20") / optionvalues = ("11", "12", "13", "14","15", "16", "17", "18", "19", "20") / required = true / orientation = horizontalequal </checkboxes>
<checkboxes row3> / caption=" " / options=("21", "22", "23", "24", "25", "26", "27", "28", "29", "30") / optionvalues = ("21", "22", "23", "24","25", "26", "27", "28", "29", "30") / required = true / orientation = horizontalequal </checkboxes>
<checkboxes row4> / caption=" " / options=("31", "32", "33", "34", "35", "36", "37", "38", "39", "40") / optionvalues = ("31", "32", "33", "34","35", "36", "37", "38", "39", "40") / required = true / orientation = horizontalequal </checkboxes>
<checkboxes row5> / caption=" " / options=("41", "42", "43", "44", "45", "46", "47", "48", "49", "50") / optionvalues = ("41", "42", "43", "44","45", "46", "47", "48", "49", "50") / required = true / orientation = horizontalequal </checkboxes>
// <text boxes_calibration_intro> /items = ("<center>Click as many boxes as possible in 10 seconds (in the correct order).<br>This task will be shown 2 times.<br>When you are ready to start, press <b>[space]</b>.</center>") </text>
<trial boxes_calibration_show> /stimulusFrames = [1=boxes_calibration_intro] /inputdevice = keyboard /validresponse = (" ") </trial>
<block boxes_calibration_block> //trials = [1=boxes_calibration_show; 2=calibration_surveypage1; 3=calibration_intermezzo; 4=calibration_surveypage2] /trials = [1=boxes_calibration_show; 2=calibration_surveypage1] </block>
|