[open] No mouse response logged
Hi,
I am programming an experiment in which pictures are presented. Some pictures come with a forced choice question, some don’t. So I want to program the experimental loop so that it proceeds to asking the question and collecting the answer only, of course, when this is the case.
I programmed this by adding a variable for every picture such as “HasQuestion” and I fill it in with either yes or no. Then I put a conditional statement on the sketchpad presenting the question and on the mouse response item, to only run if [HasQuestion]=yes.
So far so good. It runs ok. But it doesn’t collect the answer.
I then replaced the sketchpad and the mouse response with a multiple form. Still no answer is collected.
It doesn't depend on the conditional statement, because if I set the question to always run, it behaves in the same way.
Here's the multiple choice form script
% set allow_multiple "no"
% set button_text "Ok"
% set form_title "Form title"
% set form_var "response"
% options
% A % my 'correct answer' variable is defined as either A or B
% B
% end
%set question "[q]" % q is my variable containing questions
Comments
Hi Harold,
So setting the form to run always does not run the form? Or do you mean that you can give an answer but it's not stored somewhere? (The latter would be solved by adding a
loggerto your sequence)Cheers
Josh
Hi
the form does run
the logger is present
the answer is not collected
I replaced the mouse response with a keyboard response and everything works fine. Seems the problem is the mouse.