Inserting a value for validresponse attribute


Author
Message
DCole9
DCole9
Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)Distinguished Member (4.4K reputation)
Group: Forum Members
Posts: 42, Visits: 220
Hi Inquisiteers,
I'm trying to change the validresponse of a trial based on user input (right or left handed) to ensure the button they need to press is for their non-dominant hand.  I'm running into an issue using the typical <%values.handedness%> formula.

Here is what I've tried.
<values>
/handedness = 38
</values>
<trial mytrial>
/stimulusframes = [1 = fixation, target]
/validresponse = (<%values.handedness%>)
</trial>

I've tried /handedness = "38", ("<%values.handedness%>"), (values.handedness), and plain <%values.handedness, to no avail.
Is this not possible to do or is there perhaps another way to solve the problem?

Thanks!


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search