By gusti - 6/5/2015
Hello!
I have modified PASAT (in attachment) so, that boxes with answers are smaller to minimize additional time taken for mouse movement. It is for more reliable results so they could be compared with normative data of oral answer test. But now correct answers appear in different position than initial boxes with answers. What could be the problem?
|
By Dave - 6/7/2015
Look at
<text correctAnswer> / erase = false / items = answerList / position = (values.posX, values.posY) / fontstyle = ("Verdana", 5.5%, true, false, false, false, 5, 0) / select = values.currentSum / size = (2%, 2%) </text>
in the script. Notice that the element's onscreen position is determined by two values (posX and posY).
See <trial practice> and <trial test> for the calculations of those position values:
<trial practice> / ontrialbegin = [ values.temp2 = number; values.currentSum = values.temp1 + values.temp2; values.currentDigit = values.temp2; values.temp1 = values.temp2; values.posX = (mod(values.currentSum - 1, 9) + 1) * 10; if (values.currentSum >= 1 && values.currentSum <= 9) values.posY = 40% else values.posY = 60%; ] ... </trial>
<trial test> / ontrialbegin = [ values.temp2 = number; values.currentSum = values.temp1 + values.temp2; values.currentDigit = values.temp2; values.temp1 = values.temp2; values.posX = (mod(values.currentSum - 1, 9) + 1) * 10; if (values.currentSum >= 1 && values.currentSum <= 9) values.posY = 40% else values.posY = 60%; ] ... </trial>
You need to adjust those calculations to fit your needs / the altered positions of your response boxes.
|
|