View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03241 | Bug reports | Survey editing | public | 2009-06-01 09:29 | 2009-08-19 01:26 |
Reporter | Denniz | Assigned To | jcleeland | ||
Priority | normal | Severity | partial_block | ||
Status | closed | Resolution | won't fix | ||
Product Version | 1.82 | ||||
Summary | 03241: Mandatory requirement not working on Array (Multi-flexbile) (Number) with Checkbox layout is 1 | ||||
Description | Mandatory requirement not working on Array (Multi-flexbile) (Number) with Checkbox layout is 1. It will be better to have the minimum and maximum answer attribute like a normal multiple options question. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | |||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | MySQL 5.0.67 | ||||
Server OS (if known) | Linux | ||||
Webserver software & version (if known) | http://take.qston.com/now/admin | ||||
PHP Version | PHP 5.2.8 | ||||
Please attach a small sample survey (survey structure as .csv-file), where we can reproduce the issue - Thx! |
|
I can reproduce the issue. @ c_schmitz: I get the following notices working on the latest development revision at the second page of the survey: Notice: Undefined variable: mandatoryfns in /home/.sites/962/site989/web/limesurvey/qanda.php on line 386 |
|
Jason, that's totally not my area of expertise. Can you take a look at it? |
|
I'm working on this now... Denniz, could you clarify what you mean by "It will be better to have the minimum and maximum answer attribute like a normal multiple options question." ? I don't really understand that bit. |
|
I've removed the error messages, but the mandatory issue is a real problem. When the question type was developed it wasn't intended to have a checkbox. That was added on over the top. The checkbox means that every option is always answered. Not ticking a box means that zero is chosen - which the mandatory checking system considers to be a response. Coding around this would be quite a bit of work, since it will involve writing an exception to the normal rules. This is something I'm a bit loath to do since the checkbox feature as an addon to the base functionality (which works fine). |
|
Hi Jason, What I meant was having a attribute to limit the selection of answer. Just like the normal multiple-choice question type, you allow us to set what is the minimum and maximum answers the user can select. With the minimum/maximum answer setting, then this question will become mandatory indirectly. For example, with the minimum answer =1 AND max answer = 1, it'll then behave like a Radio question type, and 1 answer MUST be selected. If users allow respondents to select as many as possible, then they just need to set the minimum answer =1 AND maximum answer = the # of options/answers available in the multiple choices. And this question is still mandatory because at least 1 answer MUST be chosen. I hope this clarifies a bit, please let me know if this is still ambiguous. Thanks! |
|
The mult-flexi (numbers) question type was never meant to be used as a multiple options replacement. The example you've provided is a misuse of the question type. It is supposed to allow for a grid of questions/answers like this: For each of the following indicate: If you only have the one column, then you should use the multiple options question type. If you have this grid, where for each of the animals, you have three options, then how do you decide whether a mandatory conditions has been met? Jason |
|
Hi Jason, Yeah, I'm aware that multi-flexi(num) is not meant to be used as multiple-option replacement. However, because only Array question can utilize Array-filter to filter answers selected in previous question, so i used it as a workaround to behave like a multiple-option question, with only 1 label in Array. If multiple-option quesiton/radio-list can have the ability to use Array-filter, then it would be really great. Thanks! |
|
Please file a feature request instead, then. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-06-01 09:29 | Denniz | New Issue | |
2009-06-01 09:29 | Denniz | Status | new => assigned |
2009-06-01 09:29 | Denniz | Assigned To | => user372 |
2009-06-01 09:29 | Denniz | Database & DB-Version | => MySQL 5.0.67 |
2009-06-01 09:29 | Denniz | Operating System (Server) | => Linux |
2009-06-01 09:29 | Denniz | Webserver | => http://take.qston.com/now/admin |
2009-06-01 09:29 | Denniz | PHP Version | => PHP 5.2.8 |
2009-06-01 09:30 |
|
Note Added: 08171 | |
2009-06-01 09:30 |
|
Status | assigned => feedback |
2009-06-01 09:40 | Denniz | File Added: test_example.csv | |
2009-06-01 09:44 |
|
Note Added: 08172 | |
2009-06-01 09:44 |
|
Status | feedback => assigned |
2009-06-01 09:44 |
|
Assigned To | user372 => c_schmitz |
2009-06-02 01:08 | c_schmitz | Assigned To | c_schmitz => jcleeland |
2009-06-02 01:14 | c_schmitz | Note Added: 08205 | |
2009-06-07 19:21 | jcleeland | Note Added: 08320 | |
2009-06-07 20:04 | jcleeland | Note Added: 08321 | |
2009-06-08 12:03 | Denniz | Note Added: 08331 | |
2009-06-10 06:14 | jcleeland | Note Added: 08373 | |
2009-06-10 11:32 | Denniz | Note Added: 08378 | |
2009-08-19 01:26 | c_schmitz | Note Added: 09169 | |
2009-08-19 01:26 | c_schmitz | Status | assigned => resolved |
2009-08-19 01:26 | c_schmitz | Resolution | open => won't fix |
2009-08-19 01:26 | c_schmitz | Status | resolved => closed |
2010-10-25 00:17 | c_schmitz | Category | Survey Design => Survey design |
2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |