I am creating an evaluation survey in which a participant does evaluation by selecting the answers of single dropdown radio.
For example: question is Promoter Standing in Designated Place and the radio answer with assessment values are (Is in place = 2, Not in place = 1, No Show = 0) the question code is q65 and answers codes are (A1, A2, A3)
Same as above I have created 10 to 12 question
Now at the end I need to sum the score of all the answers however if any question is left blank, the sum should be considered as 0 because i have some conditions in the survey too
Can some one help me on this as I am new to limesurvey
Hi,
why do you use the default answer codes "A1", "A2", ... ?
A1: Is in place
A2: Not in place
A3: No show
and not:
2: Is in place
1: Not in place
0: No show
Then "sum(q65.NAOK,q66.NAOK,...)" gives the score.
Regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The problem with using answer codes as scoring values is that you cannot have multiple equal values in a question. For example, you cannot have several answers with a value of 1 within the same question. That is why using assessment values and qCode.value is frequently a far more flexible solution.
Cheers,
Tony Partner Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.