I'm using the outputs from a set of NPS questions as part of a typing tool. My problem is that the NPS is outputting 2 values for each question e.g. Q14_NPS_Group and Q14. The Q#_NPS_Group always outputs as 1, making typing impossible.
How do I get my JS to call Q14 and not Q14_NPS_Group?
var CCPay = Number('${q://QID14/SelectedChoices}');
Page 1 / 1
Was able to answer my own question.
Simply change 'SelectedChoices' to 'SelectedChoicesRecode'
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.