In short: I want to assess a varying number (10-200) of student names for each survey, then assess each in multiple dimensions.
I am bringing in the list of student names as embedded data (sequentially numbered fields) - and typically many are blank. Then I assess each using piped text into the assessment question. However, there are a lot of blank fields when the list is less than 200.
In a separate post:
there was a similar problem addressed, but I’m not clear on how to perform the checkbox step (step 4).
I don't want to use loop/merge (seems unnecessary), so probably that’s impacting what the Javascript should be to select each embedded student name.
So, I’m 1) bringing in the embedded data into a hidden question (the JS works for that).
Then in that question, 2) I want to select the names that are not blank. The aforementioned JS doesn’t work - and where does it even go? (Not working: <code>if (!Qualtrics.SurveyEngine.getEmbeddedData('v'+i)==""){this.setChoiceValue(i,true);}</code>)
Then 3) I can easily carry forward the selected items (not blank) to the displayed assessment question