View Issue Details

IDProjectCategoryView StatusLast Update
15549Bug reportsAssessmentspublic2019-11-14 22:01
Reporterholch Assigned Tocdorin  
PrioritynoneSeveritypartial_block 
Status assignedResolutionopen 
Product Version3.19.3 
Summary15549: Assessment value of Multiple Choice question equals 'Y' instead of the value given
Description

https://www.limesurvey.org/forum/can-i-do-this-with-limesurvey/119618-how-to-save-assessment-final-score-of-multiple-choice-question

In the forum someone wanted to use assessment values with a multiple choice question. Funnily enough, there are no individual assessment values for each subquestion of a multipe choice question, but only a general value that can be applied to all of the subquestions only. But that is a different topic.

When using expression manager, QuestionCode_SubquestionCode.value returns "Y" instead of "3" as it should in the example in the forum. See attached LSS file.

In my opinion. QuestionCode_SubquestionCode should return "Y" or nothing, but QuestionCode_SubquestionCode.value should return the applied assessment value from the question options.

TagsNo tags attached.
Complete LimeSurvey version number (& build)LimeSurvey Version 3.19.3+191023
I will donate to the project if issue is resolvedNo
BrowserChrome
Database & DB-VersionNA
Server OS (if known)NA
Webserver software & version (if known)NA
PHP VersionNA

Activities

holch

holch

2019-11-08 22:00

reporter  

DenisChenu

DenisChenu

2019-11-09 11:32

developer   ~54490

In my opinion. QuestionCode_SubquestionCode should return "Y" or nothing, but QuestionCode_SubquestionCode.value should return the applied assessment value from the question options.

Only if QuestionCode_SubquestionCode is nbot empty :), else must return 0.

holch

holch

2019-11-12 13:42

reporter   ~54544

Ignore the LSQ file, here is the complete test file from the forum.

And Denis is right: here QuestionCode_SubquestionCode.value in the multiple choice question should return either "3" if subquestion is ticked and "0" or be empty if not ticked.

Issue History

Date Modified Username Field Change
2019-11-08 22:00 holch New Issue
2019-11-08 22:00 holch File Added: limesurvey_question_5195 (1).lsq
2019-11-09 11:32 DenisChenu Note Added: 54490
2019-11-12 13:42 holch File Added: limesurvey_survey_425877 (1).lss
2019-11-12 13:42 holch Note Added: 54544
2019-11-14 22:01 cdorin Assigned To => cdorin
2019-11-14 22:01 cdorin Status new => assigned