- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Avoid saving answers to specific questions in the results
- Topappel
- Topic Author
- Offline
- New Member
Less
More
4 years 9 months ago - 4 years 9 months ago #185876
by Topappel
Avoid saving answers to specific questions in the results was created by Topappel
Hello,
for my survey I need to use the geographical data of the respondents' work and home locations to calculate the distance between these points. I use the short text map question type to inquire the coordinates of these locations. This also means that the coordinates will be saved in the results. However, I want to be able to guarantee that the survey does not save sensitive information, so that the respondent remains anonymous. Is there a way to save the coordinates for the duration of the survey and discard them once the survey is completed?
Thanks for your help
for my survey I need to use the geographical data of the respondents' work and home locations to calculate the distance between these points. I use the short text map question type to inquire the coordinates of these locations. This also means that the coordinates will be saved in the results. However, I want to be able to guarantee that the survey does not save sensitive information, so that the respondent remains anonymous. Is there a way to save the coordinates for the duration of the survey and discard them once the survey is completed?
Thanks for your help
Last edit: 4 years 9 months ago by Topappel.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
4 years 9 months ago - 4 years 9 months ago #185879
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Avoid saving answers to specific questions in the results
You can create a plugin to delete some values when survey is submitted
manual.limesurvey.org/AfterSurveyComplete is the event to use
@Joffm solution is better
manual.limesurvey.org/AfterSurveyComplete is the event to use
@Joffm solution is better
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 4 years 9 months ago by DenisChenu. Reason: @Joffm solution is better :)
The following user(s) said Thank You: Topappel
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12886
- Thank you received: 3965
4 years 9 months ago - 4 years 9 months ago #185882
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Avoid saving answers to specific questions in the results
Hi,
try to create a question of type equation at the end of the survey which sets these fields to "" (blank).
I assume your geo question is a question of type "short text". Let's have it the code "geo1".
So your equation wold be {geo1=""}
But the answer table has no data.
Joffm
try to create a question of type equation at the end of the survey which sets these fields to "" (blank).
I assume your geo question is a question of type "short text". Let's have it the code "geo1".
So your equation wold be {geo1=""}
But the answer table has no data.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 4 years 9 months ago by Joffm.
The following user(s) said Thank You: DenisChenu, Topappel
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
4 years 9 months ago #185884
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Avoid saving answers to specific questions in the results
Joffm's approach is an elegant solution but I think another concern will be convincing respondents that you only want to "temporarily" use the location data.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- Topappel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
4 years 9 months ago #185957
by Topappel
Replied by Topappel on topic Avoid saving answers to specific questions in the results
Thank you so much, Joffm! This is exactly what I needed.
@tpartner I agree. Convincing the respondents that I only use the data within the survey is tricky. However, I do not save the locational data in the results, so I can claim with good conscience that their answers will be anonymous. Whether the respondent chooses to believe my claim is ultimately up to them.
@tpartner I agree. Convincing the respondents that I only use the data within the survey is tricky. However, I do not save the locational data in the results, so I can claim with good conscience that their answers will be anonymous. Whether the respondent chooses to believe my claim is ultimately up to them.
The topic has been locked.