Why are NPS questions producing 2 values? | XM Community
Skip to main content

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}');



Was able to answer my own question.
Simply change 'SelectedChoices' to 'SelectedChoicesRecode'


Leave a Reply