Selecting from different lists depending on trial name


Author
Message
drivas
drivas
Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)Partner Member (537 reputation)
Group: Forum Members
Posts: 9, Visits: 49
Hi!

I am looking for a way to make a picture element select from a different list depending on a trial name. For example I have two lists:

<list A>
/items= (2, 5, 8, 1)
</list>

<list B>
/ items = (3, 6, 4, 10)
</list>

And my picture element looks like this:

<picture stim>
/items = mypictures
/select = <% list.listA.nextvalue %>
</picture>

Would there be a way to dynamically change the "select" mode to <%list.listB.nextvalue%> with an /ontrialbegin clause? Is there another way? I could always hard code them but since my pictures can be either on the left or on the right, from category X or Y, and finally from pool A or B of a category, this would yield 2^3 picture elements with basically the same code which just seems like very bad programming to me.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Threaded View

Reading This Topic

Explore
Messages
Mentions
Search