You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Set the possible answers to (set so values are not the same as their positional index)
2=Red
1=Blue
0=Green
Answer the survey. Select "Green". Submit the survey.
Download the results with this ticked:
Include choice codes
The spreadsheet will list the value of the response as 3.
This seems to be because in the generate_csv function in questionnaire.class.php where it iterates choices, it simply starts at zero and uses a counter $c to find the value , rather than looking at the actual choice value of the matched choice.
It should look at the choice response and if it has a named response find the value of the index of the selected choice, in this case 0=Green would show a choice code of 0 in the column.
The text was updated successfully, but these errors were encountered:
Set up a radio question.
Set the possible answers to (set so values are not the same as their positional index)
Answer the survey. Select "Green". Submit the survey.
Download the results with this ticked:
The spreadsheet will list the value of the response as 3.
This seems to be because in the generate_csv function in questionnaire.class.php where it iterates choices, it simply starts at zero and uses a counter
$c
to find the value , rather than looking at the actual choice value of the matched choice.It should look at the choice response and if it has a named response find the value of the index of the selected choice, in this case
0=Green
would show a choice code of0
in the column.The text was updated successfully, but these errors were encountered: