Group: Administrators
Posts: 13K,
Visits: 104K
|
You cannot really do this using *instruction* pages (i.e., <page> or <htmlpage> elements displayed via /pre- and /postinstructions attributes). With <surveypage>s, you can do something like this:
<block instructionsblock> / trials = [1=page1; 2=page2;] </block>
<surveypage page1> / caption = "Page 1" / ontrialbegin = [values.t_start=script.elapsedtime;] / ontrialend = [values.t_end=script.elapsedtime;] / showpagenumbers = false / finishlabel = "Next" </surveypage>
<surveypage page2> / caption = "Page 2" / ontrialbegin = [values.t_start=script.elapsedtime;] / ontrialend = [values.t_end=script.elapsedtime;] / showpagenumbers = false / finishlabel = "Next" </surveypage>
<values> / t_start = 0 / t_end = 0 </values>
<expressions> / timespentonpage = (values.t_end-values.t_start) </expressions>
<data> / columns = [date time subject blocknum blockcode trialnum trialcode response latency correct expressions.timespentonpage] / separatefiles = true </data>
Note: You need to run your surveypages via a <block>.
|