Millisecond Forums

Data file on Survey

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

By Konstantina - 6/2/2015

Hello,

Is it possible to add more variables on the data file of a survey?

Thanks,
Konstantina
By Dave - 6/2/2015

If you run your <surveypage>s via a <survey> element: No. Data output for <survey> elements cannot be customized. You *can* specify a <summarydata> element to capture a single line of additional variables.

If you run your <surveypage>s via a <block> element: Yes, by specifying the <data> and/or <summarydata> element's /columns attribute according to your needs.
By Konstantina - 6/2/2015

Thanks Dave! I'll try the summarydata.
By Dave - 6/2/2015

You can find a simple example for that here:

https://www.millisecond.com/forums/FindPost15380.aspx
By Konstantina - 6/2/2015

Hi Dave,

I tried to use summary data on my code but it didn't work. Even if I removed the data element it would keep generating a file with the name of the inquisit file with iqdat ending.
Then I tried to run the example on the previous post and even though it is specified that the file surveyelapsed.iqdat should be generated, I only get the file "mysurvey.iqdat".
Is there something that I am missing?

Thank you for your time!
Konstantina
By Konstantina - 6/4/2015

Hi Dave,
Should I open a new thread for that?
Thank you,
Konstantina
By Dave - 6/4/2015

You're likely running an outdated Inquisit version. There was one were <summarydata> didn't work along with <survey> elements by mistake. Update your installation to the latest version from https://www.millisecond.com/download/ and it should be fine.