Pictures as options


Author
Message
annievu94
annievu94
Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)
Group: Forum Members
Posts: 8, Visits: 30
I'm trying to program the Inclusion of Others in Self on Inquisit with 7 existing choices instead of the Continuous Inclusion of Self Scale that is available on the Millisecond Test Library. 

 My lab used to use this script below and it ran well with Inquisit 4 & 5 but somehow is not working on Inquisit 6. Is there any existing similar Inquisit 6 script that I can check out that uses more than 5 pictures as options?  

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = checkboxes.vennM1.checked.1 + checkboxes.vennM2.checked.1 + checkboxes.vennM3.checked.1 + checkboxes.vennM4.checked.1 + checkboxes.vennM5.checked.1 + checkboxes.vennM6.checked.1 + checkboxes.vennM7.checked.1
</expressions>

<checkboxes vennM1>
/ options = ("")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</checkboxes>

<checkboxes vennM2>
/ options = ("")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</checkboxes>

<checkboxes vennM3>
/ options = ("")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</checkboxes>

<checkboxes vennM4>
/ options = ("")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</checkboxes>

<checkboxes vennM5>
/ options = ("")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</checkboxes>

<checkboxes vennM6>
/ options = ("")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</checkboxes>

<checkboxes vennM7>
/ options = ("")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</checkboxes>

<item vennM1>
/1="vennM1.jpg"
</item>

<item vennM2>
/1="vennM2.jpg"
</item>

<item vennM3>
/3="vennM3.jpg"
</item>

<item vennM4>
/1="vennM4.jpg"
</item>

<item vennM5>
/1="vennM5.jpg"
</item>

<item vennM6>
/1="vennM6.jpg"
</item>

<item vennM7>
/1="vennM7.jpg"
</item>

<picture vennM1>
/ items = vennM1
/size = (280, 280)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (280, 280)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (280, 280)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (280, 280)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (280, 280)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (280, 280)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (280, 280)
/position = (23%, 86%)
</picture>

<surveypage Mentor_overlap>
/caption= "INSTRUCTION: Which of the pictures below best describes the relationship between YOU as the student and your MENTOR in the science program (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.Mentor_overlap; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey Mentor_overlap>
/ pages = [1= Mentor_overlap]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

*******************************************************************************************************

Attachments
reinclusionofselfinothers.zip (98 views, 61.00 KB)
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
annievu94 - 6/13/2022
I'm trying to program the Inclusion of Others in Self on Inquisit with 7 existing choices instead of the Continuous Inclusion of Self Scale that is available on the Millisecond Test Library. 

 My lab used to use this script below and it ran well with Inquisit 4 & 5 but somehow is not working on Inquisit 6. Is there any existing similar Inquisit 6 script that I can check out that uses more than 5 pictures as options?  

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = checkboxes.vennM1.checked.1 + checkboxes.vennM2.checked.1 + checkboxes.vennM3.checked.1 + checkboxes.vennM4.checked.1 + checkboxes.vennM5.checked.1 + checkboxes.vennM6.checked.1 + checkboxes.vennM7.checked.1
</expressions>

<checkboxes vennM1>
/ options = ("")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</checkboxes>

<checkboxes vennM2>
/ options = ("")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</checkboxes>

<checkboxes vennM3>
/ options = ("")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</checkboxes>

<checkboxes vennM4>
/ options = ("")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</checkboxes>

<checkboxes vennM5>
/ options = ("")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</checkboxes>

<checkboxes vennM6>
/ options = ("")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</checkboxes>

<checkboxes vennM7>
/ options = ("")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</checkboxes>

<item vennM1>
/1="vennM1.jpg"
</item>

<item vennM2>
/1="vennM2.jpg"
</item>

<item vennM3>
/3="vennM3.jpg"
</item>

<item vennM4>
/1="vennM4.jpg"
</item>

<item vennM5>
/1="vennM5.jpg"
</item>

<item vennM6>
/1="vennM6.jpg"
</item>

<item vennM7>
/1="vennM7.jpg"
</item>

<picture vennM1>
/ items = vennM1
/size = (280, 280)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (280, 280)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (280, 280)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (280, 280)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (280, 280)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (280, 280)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (280, 280)
/position = (23%, 86%)
</picture>

<surveypage Mentor_overlap>
/caption= "INSTRUCTION: Which of the pictures below best describes the relationship between YOU as the student and your MENTOR in the science program (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.Mentor_overlap; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey Mentor_overlap>
/ pages = [1= Mentor_overlap]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

*******************************************************************************************************

Change the script slightly to

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = checkboxes.vennM1.checked.1 + checkboxes.vennM2.checked.1 + checkboxes.vennM3.checked.1 + checkboxes.vennM4.checked.1 + checkboxes.vennM5.checked.1 + checkboxes.vennM6.checked.1 + checkboxes.vennM7.checked.1
</expressions>

<checkboxes vennM1>
/ options = (" ")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</checkboxes>

<checkboxes vennM2>
/ options = (" ")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</checkboxes>

<checkboxes vennM3>
/ options = (" ")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</checkboxes>

<checkboxes vennM4>
/ options = (" ")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</checkboxes>

<checkboxes vennM5>
/ options = (" ")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</checkboxes>

<checkboxes vennM6>
/ options = (" ")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</checkboxes>

<checkboxes vennM7>
/ options = (" ")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</checkboxes>

<item vennM1>
/1="vennM1.jpg"
</item>

<item vennM2>
/1="vennM2.jpg"
</item>

<item vennM3>
/3="vennM3.jpg"
</item>

<item vennM4>
/1="vennM4.jpg"
</item>

<item vennM5>
/1="vennM5.jpg"
</item>

<item vennM6>
/1="vennM6.jpg"
</item>

<item vennM7>
/1="vennM7.jpg"
</item>

<picture vennM1>
/ items = vennM1
/size = (280, 280)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (280, 280)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (280, 280)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (280, 280)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (280, 280)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (280, 280)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (280, 280)
/position = (23%, 86%)
</picture>

<surveypage Mentor_overlap>
/caption= "INSTRUCTION: Which of the pictures below best describes the relationship between YOU as the student and your MENTOR in the science program (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.Mentor_overlap; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey Mentor_overlap>
/ pages = [1= Mentor_overlap]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

*******************************************************************************************************


and it should work just fine under version 6.

annievu94
annievu94
Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)Associate Member (86 reputation)
Group: Forum Members
Posts: 8, Visits: 30
Thank you so much Dave!!! The script works now!

I have adapted it and changed it from checkboxes to radiobuttons so participants can only select one option. But even with the radiobuttons it seems like participants can select more than one option. How can I make it so that participants can only select one option only? 

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = radiobuttons.vennM1.checked.1 + radiobuttons.vennM2.checked.1 + radiobuttons.vennM3.checked.1 + radiobuttons.vennM4.checked.1 + radiobuttons.vennM5.checked.1 + radiobuttons.vennM6.checked.1 + radiobuttons.vennM7.checked.1
</expressions>

<radiobuttons vennM1>
/ options = (" ")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</radiobuttons>

<radiobuttons vennM2>
/ options = (" ")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</radiobuttons>

<radiobuttons vennM3>
/ options = (" ")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</radiobuttons>

<radiobuttons vennM4>
/ options = (" ")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</radiobuttons>

<radiobuttons vennM5>
/ options = (" ")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</radiobuttons>

<radiobuttons vennM6>
/ options = (" ")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</radiobuttons>

<radiobuttons vennM7>
/ options = (" ")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</radiobuttons>

<item vennM1>
/1="ios1.png"
</item>

<item vennM2>
/1="ios2.png"
</item>

<item vennM3>
/3="ios3.png"
</item>

<item vennM4>
/1="ios4.png"
</item>

<item vennM5>
/1="ios5.png"
</item>

<item vennM6>
/1="ios6.png"
</item>

<item vennM7>
/1="ios7.png"
</item>

<picture vennM1>
/ items = vennM1
/size = (230px, 230px)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (195px, 195px)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (175px, 175px)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (150px, 150px)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (135px, 135px)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (115px, 115px)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (110px, 110px)
/position = (23%, 86%)
</picture>

<surveypage ios>
/caption= "Which of the pictures below best describes the relationship between YOU and OTHER HUMAN BEINGS? (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.ios; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey ios>
/ pages = [1= ios]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

******************************************************************************************************* 
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
annievu94 - 6/13/2022
Thank you so much Dave!!! The script works now!

I have adapted it and changed it from checkboxes to radiobuttons so participants can only select one option. But even with the radiobuttons it seems like participants can select more than one option. How can I make it so that participants can only select one option only? 

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = radiobuttons.vennM1.checked.1 + radiobuttons.vennM2.checked.1 + radiobuttons.vennM3.checked.1 + radiobuttons.vennM4.checked.1 + radiobuttons.vennM5.checked.1 + radiobuttons.vennM6.checked.1 + radiobuttons.vennM7.checked.1
</expressions>

<radiobuttons vennM1>
/ options = (" ")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</radiobuttons>

<radiobuttons vennM2>
/ options = (" ")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</radiobuttons>

<radiobuttons vennM3>
/ options = (" ")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</radiobuttons>

<radiobuttons vennM4>
/ options = (" ")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</radiobuttons>

<radiobuttons vennM5>
/ options = (" ")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</radiobuttons>

<radiobuttons vennM6>
/ options = (" ")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</radiobuttons>

<radiobuttons vennM7>
/ options = (" ")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</radiobuttons>

<item vennM1>
/1="ios1.png"
</item>

<item vennM2>
/1="ios2.png"
</item>

<item vennM3>
/3="ios3.png"
</item>

<item vennM4>
/1="ios4.png"
</item>

<item vennM5>
/1="ios5.png"
</item>

<item vennM6>
/1="ios6.png"
</item>

<item vennM7>
/1="ios7.png"
</item>

<picture vennM1>
/ items = vennM1
/size = (230px, 230px)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (195px, 195px)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (175px, 175px)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (150px, 150px)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (135px, 135px)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (115px, 115px)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (110px, 110px)
/position = (23%, 86%)
</picture>

<surveypage ios>
/caption= "Which of the pictures below best describes the relationship between YOU and OTHER HUMAN BEINGS? (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.ios; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey ios>
/ pages = [1= ios]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

******************************************************************************************************* 

> How can I make it so that participants can only select one option only?

You can't. The way the script is set up, regardless of whether you use checkboxes or radiobuttons, you have six separate (checkkboxes or) radiobuttons questions. It's not a single question that could restrict itself to allowing one selection only.

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 12K, Visits: 98K
Dave - 6/13/2022
annievu94 - 6/13/2022
Thank you so much Dave!!! The script works now!

I have adapted it and changed it from checkboxes to radiobuttons so participants can only select one option. But even with the radiobuttons it seems like participants can select more than one option. How can I make it so that participants can only select one option only? 

****************************************************************

<defaults>
/ screencolor = (255, 255, 255)
/ txcolor = (0, 0, 0)
/ fontstyle = ("Arial", 3%, false)
/ quitcommand =(Ctrl+Alt+18)
</defaults>

***************************************************************
<expressions>
/venncount = radiobuttons.vennM1.checked.1 + radiobuttons.vennM2.checked.1 + radiobuttons.vennM3.checked.1 + radiobuttons.vennM4.checked.1 + radiobuttons.vennM5.checked.1 + radiobuttons.vennM6.checked.1 + radiobuttons.vennM7.checked.1
</expressions>

<radiobuttons vennM1>
/ options = (" ")
/ optionvalues = ("1")
/ position = (10%, 19%)
/ required = false
</radiobuttons>

<radiobuttons vennM2>
/ options = (" ")
/ optionvalues = ("2")
/ position = (10%, 30%)
/ required = false
</radiobuttons>

<radiobuttons vennM3>
/ options = (" ")
/ optionvalues = ("3")
/ position = (10%, 41%)
/ required = false
</radiobuttons>

<radiobuttons vennM4>
/ options = (" ")
/ optionvalues = ("4")
/ position = (10%, 52%)
/ required = false
</radiobuttons>

<radiobuttons vennM5>
/ options = (" ")
/ optionvalues = ("5")
/ position = (10%, 63%)
/ required = false
</radiobuttons>

<radiobuttons vennM6>
/ options = (" ")
/ optionvalues = ("6")
/ position = (10%, 74%)
/ required = false
</radiobuttons>

<radiobuttons vennM7>
/ options = (" ")
/ optionvalues = ("7")
/ position = (10%, 85%)
/ required = false
</radiobuttons>

<item vennM1>
/1="ios1.png"
</item>

<item vennM2>
/1="ios2.png"
</item>

<item vennM3>
/3="ios3.png"
</item>

<item vennM4>
/1="ios4.png"
</item>

<item vennM5>
/1="ios5.png"
</item>

<item vennM6>
/1="ios6.png"
</item>

<item vennM7>
/1="ios7.png"
</item>

<picture vennM1>
/ items = vennM1
/size = (230px, 230px)
/position = (23%, 20%)
</picture>

<picture vennM2>
/ items = vennM2
/size = (195px, 195px)
/position = (23%, 31%)
</picture>

<picture vennM3>
/ items = vennM3
/size = (175px, 175px)
/position = (23%, 42%)
</picture>

<picture vennM4>
/ items = vennM4
/size = (150px, 150px)
/position = (23%, 53%)
</picture>

<picture vennM5>
/ items = vennM5
/size = (135px, 135px)
/position = (23%, 64%)
</picture>

<picture vennM6>
/ items = vennM6
/size = (115px, 115px)
/position = (23%, 75%)
</picture>

<picture vennM7>
/ items = vennM7
/size = (110px, 110px)
/position = (23%, 86%)
</picture>

<surveypage ios>
/caption= "Which of the pictures below best describes the relationship between YOU and OTHER HUMAN BEINGS? (select only one option)?"
/ questions = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ stimulusframes = [1=vennM1, vennM2, vennM3, vennM4, vennM5, vennM6, vennM7]
/ branch = [if (expressions.venncount != 1) surveypage.ios; ]
/ fontstyle = ("Arial", 3%, false)
/ showbackbutton = false
/ finishlabel = "Continue"
</surveypage>

<survey ios>
/ pages = [1= ios]
/ responsefontstyle = ("Verdana", -12, false, false, false, false, 5, 0)
/ itemfontstyle = ("Verdana", -13, false, false, false, false, 5, 0)
/ showpagenumbers = false
/ showquestionnumbers = false
/ showbackbutton = false
/ finishlabel = "Continue"
</survey>

******************************************************************************************************* 

> How can I make it so that participants can only select one option only?

You can't. The way the script is set up, regardless of whether you use checkboxes or radiobuttons, you have six separate (checkkboxes or) radiobuttons questions. It's not a single question that could restrict itself to allowing one selection only.

Under Inquisit 6.6 (you need to make sure you're running the latest version, otherwise this might not work properly), you can theoretically display images as options in radiobuttons or checkboxes. I.e.

<radiobuttons venn>
/ options = ("<img src=vennM1.jpg width=290>", "<img src=vennM2.jpg width=290>", "<img src=vennM3.jpg width=290>", "<img src=vennM4.jpg width=290>", "<img src=vennM5.jpg width=290>", "<img src=vennM6.jpg width=290>", "<img src=vennM7.jpg width=290>")
/ optionvalues = ("1", "2", "3", "4", "5", "6", "7")
/ orientation = vertical
/ required = true
</radiobuttons>

<surveypage example>
/caption= "INSTRUCTION: Which of the pictures below best describes the relationship between YOU as the student and your MENTOR in the science program (select only one option)?"
/ questions = [1=venn]
/ showpagenumbers = false
/ showquestionnumbers = false
</surveypage>

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search