Branching to Likert trial type


Author
Message
Dana Leighton
Dana Leighton
Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)Partner Member (839 reputation)
Group: Forum Members
Posts: 9, Visits: 36
Hello Inquisit people:

I am trying to branch to one of two likert elements based on the group ID entered when the script is run.

When I read the manual, it says that a branch attribute can be used in a block element, and that it can branch to an "event (i.e., trial, block, etc.)" But -- when I try branching to a likert event (a specialized trial element according to the manual), it does not seem to make the branch. When I run the following code to test it (pasted because it's relatively short), the script simply terminates without presenting the likert event.

Anything I am doing wrong here? I am attaching the full script of what I am trying to do in my experiment for your reference.

<text test1> / items = ("test1") </text>
<text test2> / items = ("test2") </text>
<likert test1> / stimulusframes=[1=text.test1] /position = (50,75) </likert>
<likert test2> / stimulusframes=[1=text.test2] /position = (50,75) </likert>
<block test> / branch = [if (script.groupid == "1") likert.test1] / branch = [if (script.groupid == "2") likert.test2] </block>




--
Dana C. Leighton, PhD
Assistant Professor of Psychology, Texas A&M University—Texarkana

Attachments
juror-selection.iqx (448 views, 924 bytes)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Reading This Topic

Explore
Messages
Mentions
Search