Branching and Blocks


Author
Message
Jin
Jin
Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)Distinguished Member (3.6K reputation)
Group: Forum Members
Posts: 26, Visits: 103
Hi all,

I have two issues with my script that I can not figure out.

1) I am trying to get one of my survey pages to either: branch to additional questions if the first question was answered correctly, or move on to the next trial if the first question was answered incorrectly.

First Question:
<surveypage POST_TOM_S>
/ questions = [1=TOM_CAP_S; 2=TOM_Q_S]
/ nextbuttonposition = (37%, 80%)
/ finishlabel = "Click to proceed to the next video."
/ showquestionnumbers = false
/ showpagenumbers = false
/ showbackbutton = false
/ recorddata = true
/ branch = [surveypage.post_tom_qs]
</surveypage>

Follow-up question (if 1st was answered correctly):

<surveypage POST_TOM_QS>
/ questions = [1=TOM_SA; 2=TOM_SB; 3=TOM_SC; 4=TOM_SD]
/ nextbuttonposition = (37%, 80%)
/ finishlabel = "Click to proceed to the next video."
/ showquestionnumbers = false
/ showpagenumbers = false
/ showbackbutton = false
/ recorddata = true
</surveypage>

My second question is how do I prevent the same video from repeating? I have "noreplace" in the block section and in the item section, however it still sometimes repeats the same video...

<block STIM_G>
/ trials = [1-6=noreplace(PRE_GD, PRE_TOM_S, PRE_TOM_M, PRE_RD)]
</block>

*note: PRE_GD and PRE_RD contain two videos each, and PRE_TOM_S and PRE_TOM_M contain only 1 video each.

Any help would be greatly appreciated! Thank you!

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