View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06241 | Bug reports | Conditions | public | 2012-06-21 10:32 | 2012-06-22 10:05 |
| Reporter | DenisChenu | Assigned To | TMSWhite | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 1.92+ | ||||
| Summary | 06241: Unable to have question with some condition on the same group | ||||
| Description | I have a group with 2 question, With a 1205XX version, i put condition like that: It work like a charm, but with last version it don't work. | ||||
| Steps To Reproduce | Import lss file, see if there are problem and test: It don't work with mandatory or not question etc .... | ||||
| Additional Information | I try too with: And with is_empty It's a comportment modification in limesurvey, i think stable release don't have to have new issue/functionnality ! | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 120613 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | FF12 | ||||
| Database type & version | Mysql 5 | ||||
| Server OS (if known) | debian/linux | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | PHP Version 5.3 | ||||
| Git branch / Pull Request URL | |||||
|
Found it : We have to use NAOK and not CODE, still a comportment modification on a stable release. |
|
|
Denis- That's not a bug. As you discovered, if you want to hide Q1 based upon the answer to Q2 (a later question), you need to use .NAOK. The fact that your survey worked in the past must have been related to other bugs that were fixed recently - e.g. see documentation here - http://docs.limesurvey.org/Upgrade+hints+for+version+1.92 |
|
|
This system work with 1.92 120530 or 120516 It's not after an 1.91 upgrade but with 1.92 upgrade. |
|
|
yes, there were fixes starting in 120605 to ensure optimal backwards compatibility to 1.91. What were you actually trying to do? Looks like you wanted to have multiple questions on the page, but only show one at a time (e.g. each time you answer one, have the previous ones disappear). If so, that won't work as currently designed. Even if you do !is_empty(X.NAOK), or X.NAOK=='', that translates to LEMval('X'), and that always returns '' if the question is irrelevant. So, if you tried to have relevance on Q1 of !is_empty(Q2), that may work for two questions on the page; but as soon as you have more than two questions, it won't work. |
|
|
It work for me, i found the solution, but it work before, i think we have to keep active survey working in stable version. I have: User can't be in school AND university, but they have to be in school OR university. Denis |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-06-21 10:32 | DenisChenu | New Issue | |
| 2012-06-21 10:33 | DenisChenu | File Added: limesurvey_survey_bug06241.lss | |
| 2012-06-21 10:34 | DenisChenu | Additional Information Updated | |
| 2012-06-21 10:40 | DenisChenu | Note Added: 19428 | |
| 2012-06-21 12:51 | c_schmitz | Assigned To | => TMSWhite |
| 2012-06-21 12:51 | c_schmitz | Status | new => assigned |
| 2012-06-21 13:30 | TMSWhite | Note Added: 19436 | |
| 2012-06-21 13:30 | TMSWhite | Status | assigned => resolved |
| 2012-06-21 13:30 | TMSWhite | Resolution | open => no change required |
| 2012-06-21 14:41 | DenisChenu | Note Added: 19442 | |
| 2012-06-21 15:13 | TMSWhite | Note Added: 19444 | |
| 2012-06-22 09:16 | DenisChenu | Note Added: 19452 | |
| 2012-06-22 10:05 | c_schmitz | Status | resolved => closed |