Is there a way to get the last question answered on a survey? | XM Community
Skip to main content
Question

Is there a way to get the last question answered on a survey?

  • June 23, 2021
  • 1 reply
  • 219 views

Forum|alt.badge.img

We are using /API/v3/surveys/{surveyId}/responses/{responseId} to get the survey responses. The value of "displayedFields" are not in order.
Is there a way to get the last question answered?
Thanks,
Alex

1 reply

grahulp5
QPN Level 3 ●●●
Forum|alt.badge.img+13
  • QPN Level 3 ●●●
  • June 24, 2021

If you want last answered question for every respondent just use "EexportTag" class and run it onReady of the header and store it in an embedded data. Remember to replace and then update it on every question.