/errormessage issues


Author
Message
charlottebooth
charlottebooth
Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)Guru (5.2K reputation)
Group: Forum Members
Posts: 45, Visits: 249
Hi everyone,

I am creating a task where words are shown and Pps have to indicate whether the word describes them by pressing 'Y' or 'N'. I'm just struggling with the error message. I want a text element to appear if they click any key that isn't a 'Y' or a 'N' to remind them of the task instructions basically.

Here is this script at the moment:
<trial positive>
/stimulustimes = [150=positive; 2500=describes]
/inputdevice = keyboard
/validresponse = ("Y", "N")
/errormessage = true(errortext, 1000)
/pretrialpause = 500
</trial>

However this script causes the errormessage to appear only when a valid response was made, which is exactly the opposite of what I want it to do.

Any hep would be much appreciated!

Thanks,

Charlottte
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search