I would like a dropdown option box to appear at the end of each trial. I've programmed a dropdown box called "question", which should be called up at the end of each trial. However, when I try to run my script, a message pops up saying "could not locate element 'question'". Do you know why this is happening? I'd be so grateful for your help. My script is pasted below.
***********************************************************************
AFFECT MISATTRIBUTION PROCEDURE (AMP)
***********************************************************************
***********************************************************************
SCRIPT INFO
last changed: 08-14-2012
***********************************************************************
BACKGROUND INFO
***********************************************************************
A script that implements the AMP measuring implicit attitudes towards flowers and insects.
The script is designed to be easily adaptable to other target categories.
***********************************************************************
DEFAULTS
***********************************************************************
requires Inquisit 4.0.0.0 or higher
<defaults>
/ fontstyle = ("Arial", 3.5%)
/ screencolor = black
/ txbgcolor = black
/ txcolor = white
/ minimumversion = "4.0.0.0"
/canvasaspectratio = (4, 3)
</defaults>
***********************************************************************
VALUES
***********************************************************************
***********************************************************************
Scoring
***********************************************************************
************
editable parameters
************
************
other parameters
************
<values>
</values>
***********************************************************************
DATA
***********************************************************************
***********************************************************************
Data Columns
***********************************************************************
******************
Raw Data Files
******************
<data>
/file = "AMP_rawdata.iqdat"
/columns = [date, time, subject, blockcode, blocknum, trialcode, trialnum, response, latency, trialdata, trialdata, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber, stimulusitem, stimulusnumber]
/separatefiles = true
</data>
***********************************************************************
INSTRUCTIONS
***********************************************************************
***********************************************************************
Task instruction stimuli
***********************************************************************
<trial instructions>
/ stimulustimes = [1=instructions, spacebar]
/ correctresponse = (" ")
/ errormessage = false
/ recorddata = false
</trial>
<text instructions>
/ items = instructions
/ hjustify = left
/ size = (90%, 60%)
/ position = (50%, 85%)
/ valign = bottom
/ select = sequence
</text>
<item instructions>
/ 1 = "In this phase of the study, we will assess your memory and perceptual ability.~n~nYou will see playing cards appear briefly on the screen and you will be asked to report which card was presented. Please try to identify each card. This may be difficult because the cards will be presented for very brief (varying) amounts of time. Please try to perform as best you can."
</item>
<text spacebar>
/ items = ("Press the SPACE BAR to begin.")
/ position = (50%, 95%)
/ valign = bottom
</text>
***********************************************************************
STIMULI
***********************************************************************
***********************************************************************
This sample AMP can be easily adapted to different target categories
and attributes. To change the categories, you need only change the
stimulus items and labels immediately below this line.
***********************************************************************
<item heart>
/1 = "3diamonds.jpg"
/2 = "4hearts.jpg"
/3 = "5spades.jpg"
/4 = "7clubs.jpg"
/5 = "9hearts.jpg"
</item>
<item fixation>
/1= "fixation.jpg"
</item>
***********************************************************************
Symbol and neutral stimuli
***********************************************************************
<dropdown Question>
/ caption="Which card was just presented on the screen?"
/ options=("2 of hearts", "2 of diamonds", "2 of clubs", "3 of spades", "3 of hearts", "3 of diamonds", "3 of clubs", "3 of spades", "4 of hearts", "4 of diamonds", "4 of clubs", "4 of spades", "5 of hearts", "5 of diamonds", "5 of clubs", "5 of spades")
/ required=true
</dropdown>
<shape blank>
/ shape = rectangle
/ color = black
/ size = (50%, 50%)
</shape>
<picture fixation>
/ items = fixation
/ size = (50%, 50%)
</picture>
<picture heart>
/ items = heart
/ size = (75%, 75%)
</picture>
***********************************************************************
Trials
***********************************************************************
<trial 32ms>
/ stimulustimes = [0=fixation; 900=heart; 932=blank; 1005=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 64ms>
/ stimulustimes = [0=fixation; 900=heart; 964=blank; 1020=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 80ms>
/ stimulustimes = [0=fixation; 900=heart; 980=blank; 1035=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 96ms>
/ stimulustimes = [0=fixation; 900=heart; 996=blank; 1051=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1012ms>
/ stimulustimes = [0=fixation; 900=heart; 1012=blank; 1067=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1028ms>
/ stimulustimes = [0=fixation; 900=heart; 1028=blank; 1083=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1044ms>
/ stimulustimes = [0=fixation; 900=heart; 1044=blank; 1099=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1060ms>
/ stimulustimes = [0=fixation; 900=heart; 1060=blank; 1115=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1076ms>
/ stimulustimes = [0=fixation; 900=heart; 1076=blank; 1131=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
<trial 1092ms>
/ stimulustimes = [0=fixation; 900=heart; 1092=blank; 1147=question]
/ trialdata = [heart]
/ validresponse = (mouseevent)
</trial>
***********************************************************************
Blocks
***********************************************************************
<block instructions>
/ trials = [1 = instructions]
/ recorddata = false
</block>
<block test>
/ trials = [1-3 = 32ms; 4-6 = 64ms; 7-9 = 80ms; 10-12 = 96ms; 13-15 = 1012ms; 16-18 = 1028ms; 19-21 = 1044ms; 22-24 = 1060ms; 25-27 = 1076ms; 28-30 = 1092ms]
</block>
***********************************************************************
Experiment
***********************************************************************
<expt>
/ blocks = [1=instructions; 2=test]
</expt>
***********************************************************************
Test Monkey
***********************************************************************
<monkey>
/ latencydistribution = normal(500, 100)
/ percentcorrect = 90
</monkey>
***********End of Script********************