Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Replacing subquestions w/ numeric ids

Replacing subquestions w/ numeric ids 5 years 8 months ago #53914

  • joeeebean
  • joeeebean's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi,
I'm putting together a questionnaire for a network survey. I have an array question asking whether the respondent has collaborated with others in their department. The subquestions are names and the answer categories are yes and no. I would like the respondents to see the names and mark yes or no for each, but I want a pre-determined ID number associated with each name to be read into the final data (instead of the name). The goal is for the end user of the data to get totally de-identified data. Is this possible? How?

Thanks,
jo
The administrator has disabled public write access.

Replacing subquestions w/ numeric ids 5 years 8 months ago #53916

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9298
  • Thank you received: 1330
  • Karma: 386
You can export the data with code only, then user see the code and not the answer.

If user have acces to admin part of limesurvey, they have access at both (code and full answer)
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Replacing subquestions w/ numeric ids 5 years 8 months ago #53918

  • joeeebean
  • joeeebean's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Thanks. I guess I was overthinking this :blush:
The administrator has disabled public write access.

Replacing subquestions w/ numeric ids 5 years 8 months ago #53960

  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5984
  • Thank you received: 368
  • Karma: 260
I'd also recommend to use the answer code for the ID. Another alternative is to add the ID at the answer text if you need more than 5 characters and then use some javascript to replace ID -> name within the survey at runtime.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.357 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form