Millisecond Forums

saving data from surveypages

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

By peter - 11/27/2017

Hi all, I have incorporated some survey pages into my script but am having issues saving the response data. This is due to there being more than one response per trial (an issue I should have foreseen but sadly did not). Any suggestions as to how to resolve this would be greatly appreciated. 
Thanks in advance. 
Peter
By Dave - 11/27/2017

peter - Monday, November 27, 2017
Hi all, I have incorporated some survey pages into my script but am having issues saving the response data. This is due to there being more than one response per trial (an issue I should have foreseen but sadly did not). Any suggestions as to how to resolve this would be greatly appreciated. 
Thanks in advance. 
Peter

If you run your <surveypage>s via a <block>, you'll find all the responses pertaining to the page logged in the raw data file's "response" column. If you wish to log any particular question element's (<radiobuttons>, <dropdown>, etct.) response to the raw data and/or summary data files, you can do so by logging the respective question element's response property as in

<data>
/ columns = (..., textbox.age.response, dropdown.gender.response, radiobuttons.income.response, ...)
...
</data>
By peter - 11/27/2017

Dave - Monday, November 27, 2017
peter - Monday, November 27, 2017
Hi all, I have incorporated some survey pages into my script but am having issues saving the response data. This is due to there being more than one response per trial (an issue I should have foreseen but sadly did not). Any suggestions as to how to resolve this would be greatly appreciated. 
Thanks in advance. 
Peter

If you run your <surveypage>s via a <block>, you'll find all the responses pertaining to the page logged in the raw data file's "response" column. If you wish to log any particular question element's (<radiobuttons>, <dropdown>, etct.) response to the raw data and/or summary data files, you can do so by logging the respective question element's response property as in

<data>
/ columns = (..., textbox.age.response, dropdown.gender.response, radiobuttons.income.response, ...)
...
</data>

Thats great thanks i will give it a go. cheers