saving data from surveypages


Author
Message
peter
peter
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 64, Visits: 210
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
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 105K
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>

peter
peter
Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)Esteemed Member (1.9K reputation)
Group: Forum Members
Posts: 64, Visits: 210
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search