Best way to display previous responses to a survey taken multiple times by auhtenticated users? | XM Community
Skip to main content

I am trying to think of an efficient way to display previous responses to the questions in a survey when an authenticated user logs in and takes the survey again. I want the displayed responses to build with each survey response.

For example, a user authenticates (through SSO related to a contact list) into the survey and answers 5 questions.

The next time they log into the survey, they can see the 5 responses they submitted the last time they took the survey, then take the survey again, and record 5 new responses.

The next time they log into the survey, they can see the 10 responses they submitted over the last two attempts, then submit 5 new responses again.

And so forth.

Some other potentially important details - the survey will be a lot more than 5 questions, and not all questions will be answered each time. I also need to add a bunch of other info to each set of responses, such as date and time and some other info that will be collected with each survey submission.

The only way I can think to do this would be a complicated mix of methods that would be more time consuming to build than worthwhile. Something like creating 20 or 30 versions of every question and setting each as a unique embedded data item that is sent to the contact list (along with unique related embedded data items for date, time and the other data I need to capture) and then pull all embedded data items back in on next log in so they can be displayed, and using display logic to display each version of each question based on the embedded data being blank or not. This sounds like a nightmare.

Hoping for some more efficient ideas. Hoping I’m just overthinking it and/or missing an obvious method or tool that will solve this more easily. Thanks for any ideas.

Be the first to reply!

Leave a Reply