Hello to everyone.
I’m working on a feedback survey for internal IS services. The survey is integrate with ServiceNow that is passing closed ticket data like short description, ticket number etc. through embedded data.
In the survey there’s a multiple choice that should be populated with these data, the Short description for the text and the ticket number for the value.
I wrote some Javascript but I got stuck here because I have no idea on how to add the options.
var ticket0desc = Qualtrics.SurveyEngine.getJSEmbeddedData('ticket_0_shortdesc');
var ticket0number = Qualtrics.SurveyEngine.getJSEmbeddedData('ticket_0_number');
var container = Qualtrics.SurveyEngine.getInstance(this.questionId).getQuestionContainer();
Maybe the multiple choice it’s not the best option, any suggestion is welcomed :)
Thanks in adavance.