+xHi,
Can anyone help me figure out how to adapt this code written for Inquisit 4 to Inquisit 5? I'm not sure what steps I should be taking first. The code is attached.
Thanks so much!
Set up your <item> elements like so (i.e. leave them completely empty):
<item attributeAlabel></item>
<item attributeA></item>
<item attributeBlabel></item>
<item attributeB></item>
<item targetAlabel></item>
<item targetA></item>
<item targetBlabel></item>
<item targetB></item>
Then use the appenditem() function in your <openended> elements to fill the item elements with the responses:
***********************************************************************
Trials for gathering items
***********************************************************************
<openended getItemsTargetA>
/ ontrialend = [
item.targetA.appenditem(openended.getItemsTargetA.response);
]/ stimulusframes = [1=getItemsTargetALabel, getItemsTargetInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getItemsTargetB>
/ ontrialend = [
item.targetB.appenditem(openended.getItemsTargetB.response);
]/ stimulusframes = [1=getItemsTargetBLabel, getItemsTargetInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getItemsAttributeA>
/ ontrialend = [
item.attributeA.appenditem(openended.getItemsAttributeA.response);
]/ stimulusframes = [1=getItemsAttributeALabel, getItemsAttributeInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getItemsAttributeB>
/ ontrialend = [
item.attributeB.appenditem(openended.getItemsAttributeB.response);
]/ stimulusframes = [1=getItemsAttributeBLabel, getItemsAttributeInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
***********************************************************************
Trials for gathering labels
***********************************************************************
<openended getLabelTargetA>
/ ontrialend = [
item.targetAlabel.appenditem(openended.getLabelTargetA.response);
]/ stimulusframes = [1=getLabelTargetAInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getLabelTargetB>
/ ontrialend = [
item.targetBlabel.appenditem(openended.getLabelTargetB.response);
]/ stimulusframes = [1=getLabelTargetBInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getLabelAttributeA>
/ ontrialend = [
item.attributeAlabel.appenditem(openended.getLabelAttributeA.response);
]/ stimulusframes = [1=getLabelAttributeAInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>
<openended getLabelAttributeB>
/ ontrialend = [
item.attributeBlabel.appenditem(openended.getLabelAttributeB.response);
]/ stimulusframes = [1=getLabelAttributeBInstructions]
/ charlimit = 25
/ size = (25%, 4%)
/ position = (50%, 60%)
/ fontstyle = ("Arial", 3%)
</openended>