View Issue Details

This bug affects 1 person(s).
 18
IDProjectCategoryView StatusLast Update
04042Bug reportsSurvey takingpublic2010-01-27 22:46
Reporterghudson Assigned Toc_schmitz  
PrioritynormalSeveritypartial_block 
Status closedResolutionno change required 
Product Version1.87 
Summary04042: Array (Multi Flexible) (Numbers), checkbox layout not enforcing mandatory behavior
Description

The mandatory question option for the Array (Multi Flexible) (Numbers) w/checkbox layout does not work. The question can always be bypassed even though the question has been set to mandatory.

TagsNo tags attached.
Attached Files
Bug heat18
Complete LimeSurvey version number (& build)8227
I will donate to the project if issue is resolved
BrowserInternet Explorer 8.0.6001.18702
Database type & versionMySQL 4.1.22
Server OS (if known)SME Server 7.4(CentOS 4.7)
Webserver software & version (if known)Apache 2.0.52
PHP VersionVersion 5

Relationships

has duplicate 04793 closedc_schmitz Question Type Array (Numbers) Mandatory Checking Not Functioning 

Users monitoring this issue

ghudson

Activities

user372

2010-01-12 18:16

  ~10754

I CAN'T reproduce the issue on my installation:
http://www.prandstetter.at/limesurvey/index.php?sid=12632

@ ghudson: can you reproduce the issue on my installation?

ghudson

ghudson

2010-01-12 18:47

reporter   ~10755

Thanks for the quick response. I apologize for the mixup. I screwed up and sent the wrong example question. It should have been "limesurvey_question_226.csv" instead of #227. I just uploaded the correct question that exhibits the problem I am having. Please forgive my absentmindedness. I guess I'm getting too old.

Many thanks for your attention to this matter.

Regards,
Glenn

user372

2010-01-21 00:13

  ~10836

I can reproduce the issue on my installation ==> I attached my test survey.

Btw. I get the following notices in debug mode:

Warning: unlink(/home/.sites/962/site989/web/limesurvey/tmp/4915752) [function.unlink]: Is a directory in /home/.sites/962/site989/web/limesurvey/common.php on line 7027

c_schmitz

c_schmitz

2010-01-21 00:43

administrator   ~10837

This is not a bug. Checkboxes represent 0/1 so a value is always given -> this question can never be unanswered. Remember that the checkbox layout is only a different presentation format for the Array (Multi Flexible) (Numbers) question.

ghudson

ghudson

2010-01-21 22:38

reporter   ~10851

I'm not sure I understand what you're saying. Why is this question type any different from a single Yes/No question type which I believe would also boil down to a 0/1, yet it does enforce mandatory behavior. I just tried to make sure and it did so. The Yes/No question initially displays with neither option set and if not touched, stops you from proceding and warns you that it was unanswered. I would think the (Multi Flexible) (Numbers) question type should behave in the same manner. I have had students take surveys and have missing answers because the (Multi Flexible) (Numbers) questions will proceed even though they did not select any of the options and clicked the next button. However, I did set the question's mandatory option equal to yes.

c_schmitz

c_schmitz

2010-01-21 22:56

administrator   ~10852

Yes, the reason is that the normal multiple choice question type was exactly designed for that reason.

But in the case of the Array (Multi Flexible) (Numbers) it wasn't - the primary goal of that question type is number entry. A checkbox cannot have an 'emtpy' value, it is either 0/1 therefore the problems

Maybe it is a missing feature but it is not a bug. If you like you can enter it as feature request at http://ideas.limesurvey.org

Issue History

Date Modified Username Field Change
2010-01-11 19:24 ghudson New Issue
2010-01-11 19:24 ghudson Status new => assigned
2010-01-11 19:24 ghudson Assigned To => user372
2010-01-11 19:24 ghudson File Added: limesurvey_question_227.csv
2010-01-11 19:24 ghudson LimeSurvey build number => 8227
2010-01-11 19:24 ghudson Browser => Internet Explorer 8.0.6001.18702
2010-01-11 19:24 ghudson Database & DB-Version => MySQL 4.1.22
2010-01-11 19:24 ghudson Operating System (Server) => SME Server 7.4(CentOS 4.7)
2010-01-11 19:24 ghudson Webserver => Apache 2.0.52
2010-01-11 19:24 ghudson PHP Version => Version 5
2010-01-11 20:28 ghudson Issue Monitored: ghudson
2010-01-12 18:16 user372 Note Added: 10754
2010-01-12 18:16 user372 Status assigned => feedback
2010-01-12 18:43 ghudson File Added: limesurvey_question_226.csv
2010-01-12 18:47 ghudson Note Added: 10755
2010-01-15 16:07 Mazi Status feedback => assigned
2010-01-21 00:13 user372 Note Added: 10836
2010-01-21 00:13 user372 File Added: limesurvey_survey_12632.csv
2010-01-21 00:13 user372 File Deleted: limesurvey_question_227.csv
2010-01-21 00:14 user372 Assigned To user372 => c_schmitz
2010-01-21 00:43 c_schmitz Note Added: 10837
2010-01-21 22:38 ghudson Note Added: 10851
2010-01-21 22:56 c_schmitz Note Added: 10852
2010-01-21 22:57 c_schmitz Status assigned => resolved
2010-01-21 22:57 c_schmitz Resolution open => no change required
2010-01-27 22:46 c_schmitz Status resolved => closed
2010-10-25 00:18 c_schmitz Category Survey at Runtime => Survey taking
2010-12-09 23:56 c_schmitz Relationship added has duplicate 04793
2021-08-07 22:26 guest Bug heat 16 => 18