I have a survey where I would like students to answer a question for each subject they took. I can pipe the subjects they took into embedded metadata (I think this needs to be a comma-separated list in a single column. For example "Physics,English,Chemistry")
I then want do a loop and merge on this field. To do this, my understanding is I need to pipe this into a hidden question so that I can use that question for the loop and merge. I am trying to use the Javascript below to accomplish this but it does not seem to record anything.
Qualtrics.SurveyEngine.addOnReady(function()
{
/*Place your JavaScript here to run when the page is fully displayed*/
jQuery('input[id*='+this.questionId+']').val("${e://Field/Subject}")
jQuery('#'+this.questionId).hide();
this.clickNextButton();
});
Any suggestions?
Best answer by TomG
View original