View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 05639 | Bug reports | Survey taking | public | 2011-12-21 18:32 | 2012-01-20 13:08 |
| Reporter | TMSWhite | Assigned To | TMSWhite | ||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 1.92RC1 | ||||
| Fixed in Version | 1.92RC2 | ||||
| Summary | 05639: 1.92 does not highlight unanswered or invalid sub-questions - it just flags the whole question | ||||
| Description | If any part of a question fails the validation criteria, the entire question is flagged as invalid, but the specific sub-question which are invalid are not flagged Similarly, if a mandatory sub-question is not answered, the entire question is flagged as not being answered (missing), but the specific sub-question that is unanswered is not flagged (e.g. turning the text of the sub-question red). | ||||
| Steps To Reproduce | Try the "Validation Tests with Regular Expression Masks" page of the limesurvey2 sample survey | ||||
| Additional Information | Solution: Extend EM to generate sub-question-level validation equations. Currently, it pools all sub-question-level validations into a single question-level equation. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 11702 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | Mysql 5.2 | ||||
| Server OS (if known) | Windows XP | ||||
| Webserver software & version (if known) | XAMPP | ||||
| PHP Version | 5.2 | ||||
|
It previously did that, so it is a regression that should be fixed for stable. |
|
|
Notes to self: (2) Long-term, might want to refactor so that any questions with validation call a question-specific validation function rather than re-assessing all validation within the main EM javascript. However, since there are currently no major performance issues, this should wait. (3) Long-term (short too?) should make LEMvarNameAttr include |
|
|
More notes to self: $('#question902 :input').css("background-color","red") (2) for sub-questions: |
|
|
Fixed in revision 11958 |
|
|
1.92RC2 released. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2011-12-21 18:32 | TMSWhite | New Issue | |
| 2011-12-29 18:57 | c_schmitz | Assigned To | => TMSWhite |
| 2011-12-29 18:57 | c_schmitz | Status | new => assigned |
| 2011-12-29 18:58 | c_schmitz | Note Added: 16759 | |
| 2012-01-08 04:59 | TMSWhite | Note Added: 16772 | |
| 2012-01-08 06:41 | TMSWhite | Note Added: 16773 | |
| 2012-01-09 19:43 | TMSWhite | Note Added: 16777 | |
| 2012-01-09 19:43 | TMSWhite | Status | assigned => resolved |
| 2012-01-09 19:43 | TMSWhite | Resolution | open => fixed |
| 2012-01-20 13:07 | c_schmitz | Fixed in Version | => 1.92RC2 |
| 2012-01-20 13:08 | c_schmitz | Note Added: 16835 | |
| 2012-01-20 13:08 | c_schmitz | Status | resolved => closed |