Group: Forum Members
Posts: 8,
Visits: 50
|
Hi I am having problem coding the inquisit experiment and would love to get your help! In my experiment, I plan to have participants read some information. They will then be asked some checkbox questions and some radio button questions. They will be able to proceed only if they answer all the questions correctly. If any of the questions are incorrect, they will have to read the information again. For the checkbox questions, they have to select both correct boxes out of the four choices correctly to be considered correct for this question. Could you please give me some suggestions about how to make this possible? I guess I am mainly having a problem about how to check if the checkbox responses are correct. Here is what I have right now. Thank you.
<survey manipulation_check> /pages = [1=manipulation_check_instruction1; 2=manipulation_check_instruction2] / responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0) / itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0) / itemspacing = 2% / showpagenumbers = false / branch = [if ( ) block.informationrepeated] / branch = [if ( ) block.informationrepeated] / branch = [if (radiobuttons.sexual_couple2.response != "No") block.informationrepeated] / branch = [if (radiobuttons.sexual_couple2.response != "Yes") block.informationrepeated] </survey>
<surveypage manipulation_check_instruction1> / caption = "Please answer the following questions based on the information you have received." / fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) / questions = [1-2= noreplace(sexual_couple1,control_couple1)] </surveypage>
<checkboxes sexual_couple1> / caption = "Who have had more than 13 sexual partners in previous relationships? (Please check all that apply.) " / options = ("Steve", "John", "Lisa", "Mary") / optionvalues = ("1","0","1","0") / range = (2,2) / order = random </checkboxes>
<checkboxes control_couple1> / caption = "Who are open to trying different cuisines? (Please check all that apply.)" / options = ("Steve", "John", "Lisa", "Mary") / optionvalues = ("0","1","0","1") / range = (2,2) / order = random </checkboxes>
<surveypage manipulation_check_instruction2> / caption = "Please answer the following questions based on the information you have received." / fontstyle = ("Verdana", -16, true, false, false, false, 5, 0) / questions = [1-2= noreplace(sexual_couple2,control_couple2)]] </surveypage>
<radiobuttons sexual_couple2> / caption = "Are Steve and Lisa in a committed relationship?" / options = ("Yes"; "No") / correctresponse = ("No") </radiobuttons>
<radiobuttons control_couple2> / caption = "Are John and Mary in a committed relationship?" / options = ("Yes"; "No") / correctresponse = ("Yes") </radiobuttons>
|