Displaying Participant Generated Stimuli in Likert


Author
Message
Marguerite
Marguerite
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 11, Visits: 21
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>
Attachments
dp - syntax for inquisit.iqx (232 views, 15.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: 13K, Visits: 104K
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

Marguerite
Marguerite
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 11, Visits: 21
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?



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: 13K, Visits: 104K
Marguerite - Wednesday, August 30, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?



> So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?

Yes, exactly.

Marguerite
Marguerite
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 11, Visits: 21
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?



> So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?

Yes, exactly.

Brilliant thanks. I think I'm nearly there except I'm getting an error for my survey page that includes these likert questions and I can't figure out what the issue is.

The error is: " surveypage.traitsurvey questions  Could not locate element 'ptrait1'. "

My syntax is:

<text positivetrait1>
/ items = positems
/ select = 1
</text>

<likert ptrait1>
/ stimulusframes=[1=positivetrait1]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ buttonvalues = [1="1"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7="7"; 8="8"; 9="9"]
/ numpoints = 9
/ position=(50, 90)
</likert>

... 
...

<surveypage traitsurvey>
/ questions = [1=ptrait1; 2=ptrait2; 3=ptrait3; 4=ptrait4; 5=ntrait1; 6=ntrait2; 7=ntrait3; 8=ntrait4]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>



Marguerite
Marguerite
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 11, Visits: 21
Marguerite - Thursday, August 31, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?



> So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?

Yes, exactly.

Brilliant thanks. I think I'm nearly there except I'm getting an error for my survey page that includes these likert questions and I can't figure out what the issue is.

The error is: " surveypage.traitsurvey questions  Could not locate element 'ptrait1'. "

My syntax is:

<text positivetrait1>
/ items = positems
/ select = 1
</text>

<likert ptrait1>
/ stimulusframes=[1=positivetrait1]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ buttonvalues = [1="1"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7="7"; 8="8"; 9="9"]
/ numpoints = 9
/ position=(50, 90)
</likert>

... 
...

<surveypage traitsurvey>
/ questions = [1=ptrait1; 2=ptrait2; 3=ptrait3; 4=ptrait4; 5=ntrait1; 6=ntrait2; 7=ntrait3; 8=ntrait4]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>



I just realized that likert is a trial element not a survey page element and I resolved the issue by using the information in here: https://www.millisecond.com/download/library/v2/CustomLikert/customlikert.zip 

The only issue I'm still having is that my likert anchors/responses labels are presenting in the same size font as the rest of the stimuli. Is there a way just to adjust the font size for the scale anchor?




Marguerite
Marguerite
Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)Esteemed Member (1.6K reputation)
Group: Forum Members
Posts: 11, Visits: 21
Marguerite - Thursday, August 31, 2017
Marguerite - Thursday, August 31, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Dave - Wednesday, August 30, 2017
Marguerite - Wednesday, August 30, 2017
Hi All

I have a task where participants generate 4 positive and 4 negative traits by selecting them from a list (using the checkbox element). I would then like to have participants answer questions about each of the traits they selected later in the survey using a likert scale option.

I've posted my syntax below. All of the checkbox options work perfectly. But I'm not quite sure how to get the individual traits to pull up - so I'm not sure what to put in the stimulus frame for the likert element etc.

I have also attached my full syntax file in case that is useful.

Any help or suggestions are appreciated.

Veronica

<item positems>
</item>

<checkboxes postraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST POSITIVE qualities:"
/ options = ("CARING", "LOVING", "RESPONSIBLE", "SMART", "FUNNY", "HONEST", "KIND", "RESPECTFUL", "BEAUTIFUL", "LOYAL",
"RELIABLE", "HANDSOME", "NICE", "GENTLE", "GENEROUS", "DEDICATED", "COURAGEOUS", "POSITIVE", "DRIVEN", "HAPPY", "ACTIVE",
"TRUSTING", "CLEAN", "FUN", "GENTLE", "OUTGOING", "STRONG", "SINCERE")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage positive>
/ questions = [1=postraits]
/ ontrialend = [ if (checkboxes.postraits.checked.1 == true) item.positems.item = checkboxes.postraits.option.1 ]
/ ontrialend = [ if (checkboxes.postraits.checked.2 == true) item.positems.item = checkboxes.postraits.option.2 ]
/ ontrialend = [ if (checkboxes.postraits.checked.3 == true) item.positems.item = checkboxes.postraits.option.3 ]
/ ontrialend = [ if (checkboxes.postraits.checked.4 == true) item.positems.item = checkboxes.postraits.option.4 ]
/ ontrialend = [ if (checkboxes.postraits.checked.5 == true) item.positems.item = checkboxes.postraits.option.5 ]
/ ontrialend = [ if (checkboxes.postraits.checked.6 == true) item.positems.item = checkboxes.postraits.option.6 ]
/ ontrialend = [ if (checkboxes.postraits.checked.7 == true) item.positems.item = checkboxes.postraits.option.7 ]
/ ontrialend = [ if (checkboxes.postraits.checked.8 == true) item.positems.item = checkboxes.postraits.option.8 ]
/ ontrialend = [ if (checkboxes.postraits.checked.9 == true) item.positems.item = checkboxes.postraits.option.9 ]
/ ontrialend = [ if (checkboxes.postraits.checked.10 == true) item.positems.item = checkboxes.postraits.option.10 ]
/ ontrialend = [ if (checkboxes.postraits.checked.11 == true) item.positems.item = checkboxes.postraits.option.11 ]
/ ontrialend = [ if (checkboxes.postraits.checked.12 == true) item.positems.item = checkboxes.postraits.option.12 ]
/ ontrialend = [ if (checkboxes.postraits.checked.13 == true) item.positems.item = checkboxes.postraits.option.13 ]
/ ontrialend = [ if (checkboxes.postraits.checked.14 == true) item.positems.item = checkboxes.postraits.option.14 ]
/ ontrialend = [ if (checkboxes.postraits.checked.15 == true) item.positems.item = checkboxes.postraits.option.15 ]
/ ontrialend = [ if (checkboxes.postraits.checked.16 == true) item.positems.item = checkboxes.postraits.option.16 ]
/ ontrialend = [ if (checkboxes.postraits.checked.17 == true) item.positems.item = checkboxes.postraits.option.17 ]
/ ontrialend = [ if (checkboxes.postraits.checked.18 == true) item.positems.item = checkboxes.postraits.option.18 ]
/ ontrialend = [ if (checkboxes.postraits.checked.19 == true) item.positems.item = checkboxes.postraits.option.19 ]
/ ontrialend = [ if (checkboxes.postraits.checked.20 == true) item.positems.item = checkboxes.postraits.option.20 ]
/ ontrialend = [ if (checkboxes.postraits.checked.21 == true) item.positems.item = checkboxes.postraits.option.21 ]
/ ontrialend = [ if (checkboxes.postraits.checked.22 == true) item.positems.item = checkboxes.postraits.option.22 ]
/ ontrialend = [ if (checkboxes.postraits.checked.23 == true) item.positems.item = checkboxes.postraits.option.23 ]
/ ontrialend = [ if (checkboxes.postraits.checked.24 == true) item.positems.item = checkboxes.postraits.option.24 ]
/ ontrialend = [ if (checkboxes.postraits.checked.25 == true) item.positems.item = checkboxes.postraits.option.25 ]
/ ontrialend = [ if (checkboxes.postraits.checked.26 == true) item.positems.item = checkboxes.postraits.option.26 ]
/ ontrialend = [ if (checkboxes.postraits.checked.27 == true) item.positems.item = checkboxes.postraits.option.27 ]
/ ontrialend = [ if (checkboxes.postraits.checked.28 == true) item.positems.item = checkboxes.postraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<text negleft>
/ items = negitems
/ position = (30%, 50%)
</text>

<text negright>
/ items = negitems
/ position = (70%, 50%)
</text>

<item negitems>
</item>

<checkboxes negtraits>
/ caption = "Select 4 of the traits below that represent your parnter's MOST NEGATIVE qualities:"
/ options = ("MEAN", "DISHONEST", "LAZY", "STUBBORN", "JEALOUS", "IMPATIENT", "INSENSITIVE", "SELFISH", "BUSY",
      "ANNOYING", "NEGATIVE", "LOUD", "LIAR", "FORGETFUL", "CLINGY", "MOODY", "ANGRY", "BOSSY", "UNSUPPORTIVE", "CHEATER"
"DUMB", "GREEDY", "CRUEL", "DISLOYAL", "CARELESS", "SHY", "SLOW", "RACIST")
/ range = (4, 4)
/ fontstyle = ("Arial", 18)
</checkboxes>

<surveypage negative>
/ questions = [1=negtraits]
/ ontrialend = [ if (checkboxes.negtraits.checked.1 == true) item.negitems.item = checkboxes.negtraits.option.1 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.2 == true) item.negitems.item = checkboxes.negtraits.option.2 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.3 == true) item.negitems.item = checkboxes.negtraits.option.3 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.4 == true) item.negitems.item = checkboxes.negtraits.option.4 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.5 == true) item.negitems.item = checkboxes.negtraits.option.5 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.6 == true) item.negitems.item = checkboxes.negtraits.option.6 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.7 == true) item.negitems.item = checkboxes.negtraits.option.7 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.8 == true) item.negitems.item = checkboxes.negtraits.option.8 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.9 == true) item.negitems.item = checkboxes.negtraits.option.9 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.10 == true) item.negitems.item = checkboxes.negtraits.option.10 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.11 == true) item.negitems.item = checkboxes.negtraits.option.11 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.12 == true) item.negitems.item = checkboxes.negtraits.option.12 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.13 == true) item.negitems.item = checkboxes.negtraits.option.13 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.14 == true) item.negitems.item = checkboxes.negtraits.option.14 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.15 == true) item.negitems.item = checkboxes.negtraits.option.15 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.16 == true) item.negitems.item = checkboxes.negtraits.option.16 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.17 == true) item.negitems.item = checkboxes.negtraits.option.17 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.18 == true) item.negitems.item = checkboxes.negtraits.option.18 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.19 == true) item.negitems.item = checkboxes.negtraits.option.19 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.20 == true) item.negitems.item = checkboxes.negtraits.option.20 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.21 == true) item.negitems.item = checkboxes.negtraits.option.21 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.22 == true) item.negitems.item = checkboxes.negtraits.option.22 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.23 == true) item.negitems.item = checkboxes.negtraits.option.23 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.24 == true) item.negitems.item = checkboxes.negtraits.option.24 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.25 == true) item.negitems.item = checkboxes.negtraits.option.25 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.26 == true) item.negitems.item = checkboxes.negtraits.option.26 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.27 == true) item.negitems.item = checkboxes.negtraits.option.27 ]
/ ontrialend = [ if (checkboxes.negtraits.checked.28 == true) item.negitems.item = checkboxes.negtraits.option.28 ]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>


<likert ptrait1>
/ stimulusframes=[1= ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

You store the selected traits in <item> elements. To display them later in the <likert>, you need to set up <text> elements referencing those item elements and then display those <text> elements via the likert's /stimulusframes as in:

<likert ptrait1>
/ stimulusframes=[1=positivetrait1 ]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ position=(50, 90)
</likert>

<text positivetrait1>
/ items = positems
/ select = 1

</text>

and so forth.

So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?



> So the "/ select = " in the text syntax you added will call up the first item of the 4 created in "positems"?

Yes, exactly.

Brilliant thanks. I think I'm nearly there except I'm getting an error for my survey page that includes these likert questions and I can't figure out what the issue is.

The error is: " surveypage.traitsurvey questions  Could not locate element 'ptrait1'. "

My syntax is:

<text positivetrait1>
/ items = positems
/ select = 1
</text>

<likert ptrait1>
/ stimulusframes=[1=positivetrait1]
/ anchors=[1="1 - Not at all characteristic"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7= "7", 8="8"; 9="9 - Completely characteristic of my partner"]
/ buttonvalues = [1="1"; 2="2"; 3="3"; 4="4"; 5="5"; 6="6"; 7="7"; 8="8"; 9="9"]
/ numpoints = 9
/ position=(50, 90)
</likert>

... 
...

<surveypage traitsurvey>
/ questions = [1=ptrait1; 2=ptrait2; 3=ptrait3; 4=ptrait4; 5=ntrait1; 6=ntrait2; 7=ntrait3; 8=ntrait4]
/ showquestionnumbers = FALSE
/ showpagenumbers = FALSE
</surveypage>



I just realized that likert is a trial element not a survey page element and I resolved the issue by using the information in here: https://www.millisecond.com/download/library/v2/CustomLikert/customlikert.zip 

The only issue I'm still having is that my likert anchors/responses labels are presenting in the same size font as the rest of the stimuli. Is there a way just to adjust the font size for the scale anchor?




Actually I solved that issue as well! Thanks for your earlier help. It really helped me get past my block.

Cheers
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search