View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03664 | Bug reports | Survey taking | public | 2009-09-08 09:25 | 2009-09-19 18:09 |
Reporter | jelo | Assigned To | lemeur | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | won't fix | ||
Product Version | 1.85+ | ||||
Summary | 03664: Popup when "multiple options" "Other textfield" empty ( $showpopups = 0; ) | ||||
Description | question type: multiple options When "Other textfield" is ticked at runtime and no text is entered a popup pops up. The config is set to $showpopups = 0; | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 8 | ||||
Complete LimeSurvey version number (& build) | 7561 | ||||
I will donate to the project if issue is resolved | |||||
Browser | Firefox 3.5.2 | ||||
Database type & version | MySQL 5.0.81 | ||||
Server OS (if known) | CENTOS 4.8 i686 | ||||
Webserver software & version (if known) | Apache 1.3.41 | ||||
PHP Version | 5.2.10 | ||||
When ticking a other field, should the entering of a text be mandatory or not? I think it shouldn't be enforced or be possible to specify. Currently (Optional question) with other field are not showing a popup or warning when no text is entered. Might be another ticket, but that can be decided later. |
|
jelo, can you upload a small sample survey? About your question: There is one (or probably more) ticket about other field and mandatory check where developer lemeur explains the handling and the changes which were made a few weeks ago. |
|
Survey attached. First question type "List (radio)" with other field. On both questions you tick the other field but didn't enter any text into the field. On "List (radio)" nothing happens (no warning). |
|
When doing the same with all questions mandatory nothing changed. Question is: Would it make sense to force people to fill out the text field Personally I like it when I can tick other, but aren't forced to enter something. |
|
Thibault, I assign this one to you (ElMatador is on vacation) because you ahve dealt with this mandatory stuff before. Maybe you can explain if the current behavior is caused by design or if it's a bug. |
|
See http://docs.limesurvey.org/tiki-index.php?page=Question+attributes#other_comment_mandatory for a full explaination of this. In summary this is no bug: type M question must enforce other text input as the checkbox is just a visual helper but has no true meaning in DB. <quote>Personally I like it when I can tick other, but aren't forced to enter something. </quote> |
|
Thanks for the link. This answer my additional question. Sorry that I didn't searched the documentation for that. Back to the main issue. The Popup when "multiple options" "Other textfield" is empty and $showpopups = 0; Is that reproducible with the sample survey? |
|
I can disbale the popup when showpopups=0. But this will lead in participant checking the "other checkbox" without filling in the other text ==> nothing will be recorded in DB so the answer will be considered to be "not answered" and not "Other". Carsten, you're opinion on this ? |
|
Not sure if I misunderstand something but I thought that instead of the Javascript popup the red error message will be displayed and the user is still forced to fill it out. |
|
showpopups refers only to popups AFTER a page was submitted and there are still mandatory answers missing. Unfortunately there are also some checks which occurs before the page is submitted. |
|
Carsten explained it right: the mandatory check code that is evaluated after submission of a page (and which is able to display red error message) is not used for this specific case. The popup that is displayed in this case is just a check on the current page, and if it fails it cancels the submit page action so that the mandatory check code is not run. I have to set this ticket as won't fix because trying to fix this would require too much work on LS1. LS2 design won't let such weird things occur. Regards, |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-09-08 09:25 | jelo | New Issue | |
2009-09-08 09:25 | jelo | Status | new => assigned |
2009-09-08 09:25 | jelo | Assigned To | => user372 |
2009-09-08 09:25 | jelo | Build Number | => 7561 |
2009-09-08 09:25 | jelo | Browser | => Firefox 3.5.2 |
2009-09-08 09:25 | jelo | Database & DB-Version | => MySQL 5.0.81 |
2009-09-08 09:25 | jelo | Operating System (Server) | => CENTOS 4.8 i686 |
2009-09-08 09:25 | jelo | Webserver | => Apache 1.3.41 |
2009-09-08 09:25 | jelo | PHP Version | => 5.2.10 |
2009-09-08 09:28 | jelo | Note Added: 09460 | |
2009-09-10 15:22 | Mazi | Note Added: 09498 | |
2009-09-10 17:35 | jelo | File Added: demo_otherfield.csv | |
2009-09-10 17:41 | jelo | Note Added: 09505 | |
2009-09-10 17:48 | jelo | Note Added: 09506 | |
2009-09-10 18:42 | Mazi | Assigned To | user372 => lemeur |
2009-09-10 18:43 | Mazi | Note Added: 09508 | |
2009-09-10 23:02 | lemeur | Note Added: 09517 | |
2009-09-10 23:02 | lemeur | Status | assigned => feedback |
2009-09-11 00:14 | jelo | Note Added: 09523 | |
2009-09-11 21:37 | lemeur | Status | feedback => assigned |
2009-09-11 21:37 | lemeur | Assigned To | lemeur => c_schmitz |
2009-09-11 21:37 | lemeur | Note Added: 09532 | |
2009-09-11 22:30 | jelo | Note Added: 09535 | |
2009-09-12 16:29 | c_schmitz | Note Added: 09539 | |
2009-09-12 16:29 | c_schmitz | Assigned To | c_schmitz => lemeur |
2009-09-19 18:09 | lemeur | Note Added: 09609 | |
2009-09-19 18:09 | lemeur | Status | assigned => closed |
2009-09-19 18:09 | lemeur | Resolution | open => won't fix |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |