Select to view content in your preferred language

Assign score based on Select one question type, can only score 2 of three answers

1139
10
Jump to solution
03-20-2023 08:41 AM
DanielChelist
New Contributor II

We are trying to create a survey in Survey123 Connect where a score is assigned based on user choice for a select_one type question in an integer type following the question. The issue we are having is that we are only to generate scores for 2 of the questions depending on the calculation formatting. See screenshots below as well as the calculation used in the integer type. Any suggestions would be greatly appreciated 

if(${a2o_1}="yes",${c2},${c1}) or if(${a2o_1}="yhi",${c3},${c1}) or if(${a2o_1}='no',${c1},${c1})

Survey123 Question.JPG

Survey123 Question pt2.JPG

Survey123 Question pt3.JPG

0 Kudos
10 Replies
DanielChelist
New Contributor II

Oop, I see what I did there, i was pointing to the questions not the the integer