View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 12079 | Bug reports | Survey editing | public | 2017-01-24 16:37 | 2017-01-25 15:40 |
| Reporter | segui | Assigned To | DenisChenu | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | no change required | ||
| Product Version | 2.58.x | ||||
| Summary | 12079: Question validation equation not working on Array(Texts) questions | ||||
| Description | On an Array(Texts) question type set to "Only numbers", an expression entered in "Question validation equation" is not being evaluated when running the survey | ||||
| Steps To Reproduce | See attached survey structure. Using this construction as question validation equation for array: (sum(self.sq_A==0)) && (sum(self.sq_B==0)) && (sum(self.sq_C==0)) && (sum(self.sq_D==0)) && (sum(self.sq_E==0)) When testing the survey and entering values that sum more than zero per row, an error is not triggered and participant is allowed to continue. | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 2.58.2+170114 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Google Chrome Version 49.0.2623.110 | ||||
| Database type & version | MySQL 14.14 Distrib 5.5.49, for Linux (x86_64) | ||||
| Server OS (if known) | CentOS 6.7 | ||||
| Webserver software & version (if known) | Apache/2.2.15 (Unix) | ||||
| PHP Version | PHP 5.6.21 | ||||
|
(sum(self.sq_A==0)) : no (sum(self.sq_A)==0) : yes |
|
|
Review the equation : you have an error. |
|
|
Thanks Denis. You are right, it was my mistake. Ginet |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2017-01-24 16:37 | segui | New Issue | |
| 2017-01-24 16:37 | segui | File Added: limesurvey_survey_956582.lss | |
| 2017-01-25 08:29 | DenisChenu | Note Added: 42826 | |
| 2017-01-25 08:32 | DenisChenu | Assigned To | => DenisChenu |
| 2017-01-25 08:32 | DenisChenu | Status | new => closed |
| 2017-01-25 08:32 | DenisChenu | Resolution | open => no change required |
| 2017-01-25 08:32 | DenisChenu | Note Added: 42827 | |
| 2017-01-25 15:40 | segui | Note Added: 42836 | |
| 2019-11-01 17:25 | c_schmitz | Category | Survey design => Survey editing |