Question
Trying to set embedded data from an answer
Hello,
I have a question with 30 different answers. I would like to set or add embedded data based on each response but still use the same identifier.
Currently I have this so far. Theres a syntax error and Im really green with Java but I want to learn.
What I am looking to do is for each answer set the embedded data (SBAName) so I can use the email address to be piped into an action later on. This saves me creating so many actions and branches in the flow.
'''Qualtrics.SurveyEngine.addOnload(function(
{
this.questionclick = if (element.type == 'radio')
{ var SBAName = "${e://Field/SBAName}";
Qualtrics.SurveyEngine.addEmbeddedData("DavisSBA","agfor@mail.wvu.edu");
}
});
'''
Thank you in advance for your help
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
