Millisecond Forums

record data from a surveypage

https://forums.millisecond.com/Topic6018.aspx

By Sander - 5/1/2011


How to record the
information that was actually on a survey page. With noreplace the selection order of itemB1, itemB2 and itemB3 is randomized. But the output as it is now, looks like this:


050211    12:04    1    2    aanbieding    1    itemB1    30000        1    0
050211    12:04    1    2    aanbieding    1    itemB2    30000        1    0
050211    12:04    1    2    aanbieding    1    itemB3    30000        1    0

In blockcode 1 either itemB1, ItemB2 or itemB3 is chosen, but it is not clear which. What do I have to change to see what item is chosen?




This is the survey page:


<surveypage
items1>


/
fontstyle = ("Arial", 20pt, true, false)


/
subcaptionfontstyle = ("Arial", 14pt, false, true)


/
itemfontstyle = ("Arial", 20, false, false)


/
showbackbutton = false


/
questions = [1=noreplace(itemA1,
itemA2, itemA3)]


/
showquestionnumbers = false


/
showpagenumbers = false


/
timeout = 25000


/
showmousecursor = false


/
finishlabel = "."


</surveypage>


 


 




By Dave - 5/1/2011

What do I have to change to see what item is chosen?


Not possible w/ your current setup. Instead put each question on a separate <surveypage>, i.e.,


<surveypage itemA1>
[...]
/ questions = [1=itemA1]
[...]
</surveypage>

<surveypage itemA2>
[...]
/ questions = [1=itemA2]
[...]
</surveypage>

<surveypage itemA3>
[...]
/ questions = [1=itemA3]
[...]
</surveypage>


and randomize the order of those surveypages via


<block myblock>
/ trials = [1-3=noreplace(itemA1,itemA2,itemA3)]
[...]

</block>


Regards,


~Dave