Instruction Pages


Author
Message
YoungResearcher
YoungResearcher
Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)Associate Member (245 reputation)
Group: Forum Members
Posts: 3, Visits: 4
I have a question concerning the instruction pages in your script “Decision Board”.
I  want to run the script (like standard) with a decision board for two applicants.
Before the decision board for the first applicant (Applicant1) starts, I want two instruction pages to appear (Userinfo1, Userinfo2). The second applicant (Applicant2) has two other instruction pages (Userinfo3, Userinfo4). The order of the two applicants is random.

I want the script to run like this:

Userinfo1
Userinfo2
Applicant1
Userinfo3
Userinfo4
Applicant2

Or respectively:

Userinfo3
Userinfo4
Applicant2
Userinfo1
Userinfo2
Applicant1


I tried something like this:

<htmlpage userinfo1>
/file = "dba_userinformation1.htm"
</htmlpage>

<htmlpage userinfo2>
/file = "dba_userinformation2.htm"
</htmlpage>

<htmlpage userinfo3>
/file = "dba_userinformation3.htm"
</htmlpage>

<htmlpage userinfo4>
/file = "dba_userinformation4.htm"
</htmlpage>

<list applicantindex>
/items = (1, 2)
/replace = false
/resetinterval = 0
</list>

<trial userinfo>
/ontrialbegin [if (values.applicantindex=1) htmlpage.userinfo1; htmlpage.userinfo2]
/ontrialbegin [if (values.applicantindex=2) htmlpage.userinfo3; htmlpage.userinfo4]
</trial>

<block userinfo>
/trials = [1 = userinfo]
</block>

Is there any mistake? Unfortunately it doesn´t work…

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