Millisecond Forums

How to exclude data from saving

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

By julschko - 1/20/2019

Dear all,

we've got a problem with our script. We are conducting a survey and we need our participants to enter their name within that questionnaire.
However, due to dataprotection, we don't want to save the name in your data..... Does anyone know a way to achieve that or if it is even possible not to save something? We already tried the "recorddata" command, but it didn't work.

Thank you so much in advance!!
By Dave - 1/20/2019

julschko - Sunday, January 20, 2019
Dear all,

we've got a problem with our script. We are conducting a survey and we need our participants to enter their name within that questionnaire.
However, due to dataprotection, we don't want to save the name in your data..... Does anyone know a way to achieve that or if it is even possible not to save something? We already tried the "recorddata" command, but it didn't work.

Thank you so much in advance!!

If you run your <surveypage>s via a <block>, you can suppress the recording of data from a specific page like so:

<surveypage age>
/ questions = [1=ageq]
</surveypage>

<textbox ageq>
/ caption = "Enter your age:"
/ mask = positiveinteger
</textbox>

<surveypage name>
/ questions = [1=nameq]
/ recorddata = false
</surveypage>

<textbox nameq>
/ caption = "Enter your name:"
</textbox>

<surveypage gender>
/ questions = [1=genderq]
</surveypage>

<dropdown genderq>
/ caption = "Select your gender:"
/ options = ("Female", "Male", "Nonbinary/Queer/Other")
</dropdown>

<block mysurvey>
/ trials = [1=age; 2=name; 3=gender]
</block>


By julschko - 1/22/2019

Dave - Monday, January 21, 2019
julschko - Sunday, January 20, 2019
Dear all,

we've got a problem with our script. We are conducting a survey and we need our participants to enter their name within that questionnaire.
However, due to dataprotection, we don't want to save the name in your data..... Does anyone know a way to achieve that or if it is even possible not to save something? We already tried the "recorddata" command, but it didn't work.

Thank you so much in advance!!

If you run your <surveypage>s via a <block>, you can suppress the recording of data from a specific page like so:

<surveypage age>
/ questions = [1=ageq]
</surveypage>

<textbox ageq>
/ caption = "Enter your age:"
/ mask = positiveinteger
</textbox>

<surveypage name>
/ questions = [1=nameq]
/ recorddata = false
</surveypage>

<textbox nameq>
/ caption = "Enter your name:"
</textbox>

<surveypage gender>
/ questions = [1=genderq]
</surveypage>

<dropdown genderq>
/ caption = "Select your gender:"
/ options = ("Female", "Male", "Nonbinary/Queer/Other")
</dropdown>

<block mysurvey>
/ trials = [1=age; 2=name; 3=gender]
</block>



That worked!! Thank you so much!!! :)