Any way to set /errormessage attribute dynamically?


Author
Message
AKrishna
AKrishna
Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)
Group: Forum Members
Posts: 118, Visits: 396
Hi all,

I've encountered a situation where I'm not sure whether the planned experiment will use error feedback or not (my collab partners haven't decided yet), so I thought I would program flexibly to allow either. Unfortunately, it looks as though trials don't have an errormessage property that can be reassigned. I've tried setting the errormessage duration as a value and then setting that value to zero via script to switch the errormessage off, but it is still displayed briefly. Is there any way to control whether an errormessage is displayed on the fly based on a <value> or <parameter> content? I'm aware that the same functionality could be implemented using /branch to call up a dedicated error trial, but I would prefer to avoid that if possible (I'm already using complex branches and variable stimulus displays on screen with /erase, so it would be a bit of a headache to implement).

Appreciate any input!



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search