Solved
Is it possible to set embedded data element from selected choice group?
I have a multiple choice question with answers organized into groups. Is it possible to capture the assigned group for a selected answer and set the value as an embedded data element?
Best answer by TomG
```
Qualtrics.SurveyEngine.addOnPageSubmit(function() {
var group = jQuery("#"+this.questionId+" input:checked").closest("ul").prev().text();
Qualtrics.SurveyEngine.setEmbeddedData("group", group);
});
```
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
