How to exclude data from saving


Author
Message
julschko
julschko
Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)
Group: Forum Members
Posts: 3, Visits: 12
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!!

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: 104K
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>



julschko
julschko
Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)Associate Member (197 reputation)
Group: Forum Members
Posts: 3, Visits: 12
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!!! :)
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search