data file should have all blank if question not shown

More
3 years 11 months ago #99751 by first
first created the topic: data file should have all blank if question not shown
I have checked and found that if a multi question is not shown to respondent then we are getting all Zero for that question in SPSS data file.Ideally we should get all blanks in this case.Following are screen shots.

Survey Designer and Programmer
Attachments:

Please Log in to join the conversation.

More
3 years 11 months ago #99752 by first
first replied the topic: data file should have all blank if question not shown

Survey Designer and Programmer
The following user(s) said Thank You: utsi

Please Log in to join the conversation.

More
5 months 2 hours ago #150757 by ddrmoscow
ddrmoscow replied the topic: data file should have all blank if question not shown
Just noticed the same behaviour with SPSS export for 2.06 and earlier (solved allready for 2.5+).
LOL , it appeared to be a very old headache for our researchers working with SPSS export files.

If topic is still relevant, here's the fast way to solve it for LS 2.06+ and earlier: modify 1 line in /application/helpers/export_helper.php row
from
} else
to
} elseif(isset($row[$fieldno]))

Regards

Please Log in to join the conversation.

More
5 months 51 minutes ago #150774 by ddrmoscow
ddrmoscow replied the topic: data file should have all blank if question not shown

ddrmoscow wrote: modify 1 line in /application/helpers/export_helper.php row
from

} else
to
} elseif(isset($row[$fieldno]))


row 187

Please Log in to join the conversation.

More
4 months 4 weeks ago #150971 by holch
holch replied the topic: data file should have all blank if question not shown
mabye a bug report or even a pull request would be interesting.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Did you already participate in our customer survey?

Don't miss your chance for great prices.

Please click here to participate:

Start now

Start now!

Just create your account and start using Limesurvey today.

Register now