Group: Administrators
Posts: 13K,
Visits: 104K
|
I wasn't aware that the <surveypage> elements at issue do not actually contain any questions requiring responses, but merely display some text via a <caption>. As such, there actually isn't actually any data to record for said pages and that's why nothing shows up.
There are a couple of options here then: (1) You can switch to standard <trial> / <text> elements to display your vignettes. (2) You can set a <value> indicating the vignette displayed and log that value to the data file:
<surveypage vig1> / ontrialbegin = [values.vignetteshown = 1] ... </surveypage>
<surveypage vig2> / ontrialbegin = [values.vignetteshown = 2] ... </surveypage>
<values> / vignetteshown = 0 ... </values>
<data> / columns = [... values.vignetteshown ...] ... </data>
(3) Somewhat hack-ish: You can put some dummy question on the pages, which will force them to be logged to the data file:
<block myblock> / trials = [1 = noreplace(vig1, vig2)] </block>
<surveypage vig1> / fontstyle = ("Arial", 2%, true, false, false, false, 5, 0) / caption = "Vignette 1" / questions = [1=vig1; 2=_] / nextbuttonposition = (70%, 55%) / nextlabel = "PRESS TO CONTINUE" / showpagenumbers = false / showquestionnumbers = false / recorddata = true </surveypage>
<caption vig1> / caption = "This is the 1st vignette" / fontstyle = ("Arial", 2%, false, false, false, false, 5, 0) / position = (10%, 10%) </caption>
<surveypage vig2> / fontstyle = ("Arial", 2%, true, false, false, false, 5, 0) / caption = "Vignette 2" / questions = [1=vig2; 2=_] / nextbuttonposition = (70%, 55%) / nextlabel = "PRESS TO CONTINUE" / showpagenumbers = false / showquestionnumbers = false / recorddata = true </surveypage>
<caption vig2> / caption = "This is the 2nd vignette" / fontstyle = ("Arial", 2%, false, false, false, false, 5, 0) / position = (10%, 10%) </caption>
<textbox _> / required = false / position = (-10%, -10%) </textbox>
Hope this helps.
|