We are collecting people’s personal data in a survey in order to give them personalized feedback. But before the survey completes, we would like to change or delete those responses so that we never have access to people’s personal data. For example, one text entry question asks people for their weight (question name is WeightLb and QuestionID is QID236). How would you delete the responses to this question using JavaScript? Alternatively, we could just change all the answer values to 999 if that would be easier than deleting them entirely. We know that you can easily delete the responses after the survey is completed, but that would be too late because we would technically be able to see people’s weight responses, which would likely require a full medical IRB approval. However, if all the personal responses are deleted before the survey response is saved, then we would likely require a less stringent IRB approval. We have tried using jQuery and other approaches to delete responses, but have not been successful. Any advice would be greatly appreciated. Thank you very much for your time.
Best answer by UCLA_Postdoc
View original