Determine when "This question was not displayed to the respondent." from the /responses API | XM Community
Skip to main content

Greetings,
I am fetching participants' responses from the v3/responses endpoint and when rendering the content for a preview, I am not sure if there is a combination of data that implies the question was not displayed. I can't distinguish a question with no answer and a question that wasn't displayed.

Hi etozzato,
I haven't used that endpoint before but there is a an attribute named displayedFields that contains all fields that were displayed during the taking of the survey. Does that help?
Good luck!


Hello there,
yes, I am using displayedFields to filter out anything that wasn't displayed/answered, the solution works because it's not returning questions that were not presented during the survey, however this also hides anything where there is no prompt for the participant and nothing can be collected. Not a big issue, just a minor annoyance at this point!

Thanks!


Leave a Reply