Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

NULL V.S. BLANK

  • david2013
  • david2013's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 11 months ago #134545 by david2013
NULL V.S. BLANK was created by david2013
Not-relevant (i.e. a question is skipped or options are filtered) always stores NULL in the database. Options are shown but not selected store an empty (blank) string in the database. This is great except for multiple choice question with exclusive option.

When we have multiple choice question with exclusive option, if user choose exclusive option (i.e. "None of the above"), then all other options store as NULL in the database. I believe it should be BLANK instead of NULL because those options are shown up. Is it a bug or expected behaviour?

Currently, we cannot tell the difference between "option is been filtered" or "it's been disabled by exclusive option" when looking at the data.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 11 months ago #134549 by DenisChenu
Replied by DenisChenu on topic NULL V.S. BLANK
I think it's expected behaviour.

But if user see the "None of the above" : he see the question.

Maybe we can save "" if relevance is set to "diabled" and null if it set to hidden.

Feature request

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.
The following user(s) said Thank You: david2013
The topic has been locked.
  • david2013
  • david2013's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
7 years 11 months ago #134606 by david2013
Replied by david2013 on topic NULL V.S. BLANK
The topic has been locked.
More
7 years 11 months ago #134670 by first
Replied by first on topic NULL V.S. BLANK
I guess you want data format as we get from tools like confirmit :)

www.limesurvey.org/community-services/fo...f-question-not-shown

Survey Designer and Programmer
The topic has been locked.
More
6 years 8 months ago #156626 by relaxpn
Replied by relaxpn on topic NULL V.S. BLANK
Hi!

Sorry for bumping this old thread but this is still an issue.
Is there any workaround for this (insert blank for answers that were shown and NULL for hidden ones)?
The topic has been locked.
More
6 years 7 months ago #157417 by relaxpn
Replied by relaxpn on topic NULL V.S. BLANK
Me again :(

Can anyone point me in the right direction, which function/file handles the data collection, I'll try to debug it and maybe provide a workaround.

I have attached an example suvey, where you can easily reproduce the given problem.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose