question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Track non-visible questions in `survey.data`

See original GitHub issue

Are you requesting a feature, reporting a bug or ask a question?

Requesting a feature

What is the current behavior?

Questions that are not visible & have no answer are not tracked in survey.data

What is the expected behavior?

That is the expected behavior… for now. I’d love it if EVERY question in the supplied JSON was persisted in the survey.data, regardless of it there has been an answer supplied. Defaulting it to null would be super helpful.

How would you reproduce the current behavior (if this is a bug)?

Specify your

  • browser:
  • browser version:
  • surveyjs platform (angular or react or jquery or knockout or vue): jQuery
  • surveyjs version: v0.12.1

If you could point me in the right direction, I can help contribute to making this happen! (if it is desired by others, I’ll do a pull request)

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
andrewtelnovcommented, Feb 5, 2018
2reactions
andrewtelnovcommented, Sep 22, 2017

@mellogarrett The most people ask for opposite. Do you want to have the null value in JSON to be posted on server? In this case, you may just write code onComplete event, go through all questions (survey.getAllQuestions()) and if survey.getValue(question.name) returns null add the requried field into JSON result.

Thank you, Andrew

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Analyze Questionnaire Data: A Step by Step Guide
Curious questionnaire/survey analysis is good practice -- by taking a deeper look at the data, in this survey's case, uncovered a hidden trend....
Read more >
How to Analyze Customer Survey Data to Get Useful Insights
Learn how to analyze survey data: get actionable insights and improve the user experience for your customers.
Read more >
Survey Data Analysis: Best Practices for Reporting - Qualtrics
Here's an overview of how you can analyze survey data, identify trends and hopefully draw meaningful conclusions from your research. 1. Review your...
Read more >
Using Machine Learning to Uncover Hidden Heterogeneities ...
Survey responses in public health surveys are heterogeneous. The quality of a respondent's answers depends on many factors, ...
Read more >
How to conduct your own market research survey - Zapier
Step 1: Write your survey questions. A poorly-worded survey, or a survey that uses the wrong question format, can render all of your...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found