I have created a Lexicon Decision task. The part that I am struggling with is that I have two images shown at different points depending on the word that is shown. So for example is Hop is shown then after an image of a fountain pen will appear, if the word Top is shown then after an image of a megaphone will appear. (this is done via an excel file within loop). What I want to do is every time a fountain pen appears then a text box will appear for participants to write there answer in. This I have done, however, the text box appears every time the fountain pen and megaphone appears.
How do I do this so that the text box only appears with the Fountain Pen.
I was thinking using the Else code, however, I am unsure on how to begin this.
e.g.
if image == “Fountain Pen.jpeg”
???
Else
???