Hello, I am trying to create a question to calculate a “Risk Score” based on answers to previous questions.
The previous questions contain recode values that are already in Qualtrics. Here is the intended calculation for Risk Score: If the count of the recode values is >= 17, then take the sum of the recode values. Otherwise, return “N/A” to the user. Attached below is what I currently have, but the output always comes out as Risk Score: “N/A” even when it should be returning a value. If anyone could provide any guidance as I am not proficient in Java Script, that would be greatly appreciated!
This is also a link to a prior conversation I was having regarding this problem but I am still having some confusion: