command /required=true does not work for questions included in blocks


Author
Message
Giulio
Giulio
Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)Partner Member (542 reputation)
Group: Forum Members
Posts: 2, Visits: 1

Hi,


I'm experiencing some problems in using command /required.


I want subjects to respond to some radiobuttons, and these radiobuttons are included in surveypages, that are in turn included in blocks elements (and cannot be included in survey elements). Each block is called many times (50 in the original script). I specify /required=true at the level of the radiobutton: this works well only the first time the block is called, but for the following times if the subject does not respond, the script does not forces him to answare before going on.


By inspecting the output I realized that Inquisit keeps in memory the latest answare to the radiobutton, and if the subject skips the question, Inquisit behaves such as the subject had given the same answare as before.


The problem have been solved in Inquisit 4, but I do not want to use a beta version, because I have to test many subjects in a single lab session, and it would be a big issue for me if something went wrong.


Is there any way to fix it in inquisit 3.0.6.0, at the level of the script? (e.g., some trick to flush inquisit memory before a new block begins?)


Here I post a brief script that reproduces the problem


__________________



<expt>


/ blocks = [1-10=block1]


</expt>



<block block1>


/ trials = [1=surveypage1]


</block>



<surveypage surveypage1>


/ questions = [1=radiobuttons1]


</surveypage>



<radiobuttons radiobuttons1>


/ caption = "A mandatory question"


/ options = ("option1", "option2")


/ orientation = vertical


/ required = true


</radiobuttons>


___________________



Thank you,


Giulio


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search