View Issue Details

This bug affects 2 person(s).
 24
IDProjectCategoryView StatusLast Update
12277Bug reportsConditionspublic2023-09-08 21:12
Reporterdarpao Assigned To 
PriorityhighSeveritypartial_block 
Status confirmedResolutionopen 
Product Version3.5.x 
Summary12277: Relevance equation on column of array-number question doesn't work
Description

I need to hide some columns from an array-number question with checkbox layout, i can't get the Relevance equation work proprely on columns (X-scale)..

The same EM code works fine on all the other Relevance of my survey, including for rows of same question...
Even if i put "0" or "false" on that field it will display ...

Steps To Reproduce

Create an array-number question with checkbox layout
Put 0 (or a condition that should hide it) on relevance equation of a column
The column is displayed and not hidden

TagsNo tags attached.
Attached Files
bug survey.lss (16,914 bytes)
Bug heat24
Complete LimeSurvey version number (& build)Versione 2.64.1+170310
I will donate to the project if issue is resolvedYes
Browser
Database type & versionMySQL
Server OS (if known)Linux
Webserver software & version (if known)I don't know
PHP VersionI don't know

Relationships

duplicate of 13441 new Feature requests Colums (still) can't be hidden in Array (numbers) questions 
related to 13509 acknowledged Bug reports Sub-question relevance does not work in array-by-column questions. 
related to 17996 acknowledged Bug reports Relevance Equation giving incorrect functions 
related to 17067 closedgabrieljenik Bug reports Subquestion Relevance in array by column does not work 
related to 18279 acknowledged Bug reports Array by column subquestion's relevanvce is executed on answer options instead 

Users monitoring this issue

darpao

Activities

darpao

darpao

2017-05-02 11:12

reporter   ~43514

Is it so hard to solve?

tammo

tammo

2017-10-16 14:46

developer   ~44693

Last edited: 2022-01-12 10:10

Can anyone of the development team look at this one, please?

DenisChenu

DenisChenu

2017-10-17 08:58

developer   ~44696

Last edited: 2022-01-12 10:10

For information : the fix is to remove the input on column :).
I don't think we get a good way to do it in a clean way for core (working with javascript …)

tammo

tammo

2017-10-17 09:16

developer   ~44697

Last edited: 2022-01-12 10:10

If it does not work as expected by the users and the error is unsolvable at the moment, shouldn't there be some warning when constructing this question?

DenisChenu

DenisChenu

2017-10-17 09:29

developer   ~44699

Last edited: 2022-01-12 10:10

No need a warning if we don't show the input box :). No input box => “no issue” ;)

tammo

tammo

2017-10-17 09:32

developer   ~44700

Last edited: 2022-01-12 10:10

OK

ollehar

ollehar

2018-03-27 15:18

administrator   ~47227

Last edited: 2022-01-12 10:10

Please update to the latest version.

DenisChenu

DenisChenu

2018-03-27 16:11

developer   ~47230

Last edited: 2022-01-12 10:10

Still in 3.5.4 git .

And sincerely : i dislike new javascript way to do things, seeme more complex than needed

DenisChenu

DenisChenu

2018-03-27 16:14

developer   ~47231

Last edited: 2022-01-12 10:10

See javascripted solution , done only at page ready.
https://framagit.org/SondagePro-LimeSurvey-plugin/hideEmptyColumn/blob/master/assets/hideemptycolumn.js

orvil

orvil

2018-03-28 19:58

reporter   ~47270

Last edited: 2022-01-12 10:10

Same problem as I reported in 13441 - lasting since LS 2.06+ 151215, the oldest version I'm working width ;)
@DenisChenu: the plugin may help in some cases, but often I'd like to hide not empty columns

DenisChenu

DenisChenu

2018-03-29 08:10

developer   ~47271

Last edited: 2022-01-12 10:10

@orvil : yes, BUT : i put the js because the issue for hidding columns are the way to hide it on same page.

Do a system to hidding it via PHP seems OK, but hidding it in JS make a buggy javascript. If you have a way to show/hide column only with one class update on one element id : OK.

orvil

orvil

2018-03-29 09:13

reporter   ~47272

Last edited: 2022-01-12 10:10

@DenisChenu: I got your point for same page function. But why buggy js? I've used a solution like this in jquery:
https://jsfiddle.net/ovillani/zb8Laamw/2/
Needs (additional) class for evey col/cell but works fine

DenisChenu

DenisChenu

2018-03-29 10:12

developer   ~47275

Last edited: 2022-01-12 10:10

A great about the jsfiddle. But need update in Expression Manager.

Expression Manager use id, then need a javascript function to move id to class/name or better : data-javaId for example

PS : It's OK if we allow to have col width to sum up to 100% :)

cdorin

cdorin

2019-06-24 11:04

reporter   ~52494

Last edited: 2022-01-12 10:10

@dominikvitt . That's one.

ollehar

ollehar

2021-03-10 22:52

administrator   ~63221

Last edited: 2022-01-12 10:10

Please update to the latest version.

Gah

galads

galads

2022-01-12 10:10

reporter   ~67968

added to the backlog. Fix only for master branch (LS5)

gabrieljenik

gabrieljenik

2022-04-13 15:20

manager   ~69057

We already started with this. Delayed though

Issue History

Date Modified Username Field Change
2017-04-21 14:14 darpao New Issue
2017-04-21 14:14 darpao File Added: bug survey.lss
2017-05-02 11:11 darpao Issue Monitored: darpao
2017-05-02 11:12 darpao Note Added: 43514
2017-10-16 14:46 tammo Note Added: 44693
2017-10-16 14:47 tammo Severity minor => partial_block
2017-10-17 08:58 DenisChenu Note Added: 44696
2017-10-17 09:16 tammo Note Added: 44697
2017-10-17 09:29 DenisChenu Note Added: 44699
2017-10-17 09:32 tammo Note Added: 44700
2018-03-27 15:18 ollehar Note Added: 47227
2018-03-27 15:18 ollehar Status new => feedback
2018-03-27 15:18 DenisChenu Relationship added related to 13509
2018-03-27 16:11 DenisChenu File Added: limesurvey_survey_Xrelevance.lss
2018-03-27 16:11 DenisChenu File Added: Capture du 2018-03-27 16-07-24.png
2018-03-27 16:11 DenisChenu File Added: Capture du 2018-03-27 16-07-42.png
2018-03-27 16:11 DenisChenu Note Added: 47230
2018-03-27 16:11 DenisChenu Status feedback => confirmed
2018-03-27 16:11 DenisChenu Severity partial_block => minor
2018-03-27 16:11 DenisChenu Reproducibility have not tried => always
2018-03-27 16:11 DenisChenu Product Version 2.64.x => 3.5.x
2018-03-27 16:14 DenisChenu Note Added: 47231
2018-03-28 19:58 orvil Note Added: 47270
2018-03-29 08:08 DenisChenu Relationship added duplicate of 13441
2018-03-29 08:10 DenisChenu Note Added: 47271
2018-03-29 09:13 orvil Note Added: 47272
2018-03-29 10:12 DenisChenu Note Added: 47275
2018-03-29 10:13 DenisChenu Note Edited: 47275
2019-06-24 11:04 cdorin Note Added: 52494
2021-03-10 22:52 ollehar Note Added: 63221
2021-03-10 22:52 ollehar Priority none => high
2021-03-10 22:52 ollehar Severity minor => partial_block
2022-01-12 10:10 galads Zoho Project Synchronization => |Yes|
2022-01-12 10:10 galads Note Added: 67968
2022-01-12 10:10 galads Bug heat 14 => 16
2022-02-15 10:14 guest Bug heat 16 => 22
2022-04-13 15:20 gabrieljenik Note Added: 69057
2022-04-13 15:20 gabrieljenik Bug heat 22 => 24
2022-04-13 15:20 gabrieljenik Assigned To => gabrieljenik
2022-04-13 15:20 gabrieljenik Status confirmed => assigned
2022-04-22 18:23 gabrieljenik Relationship added has duplicate 17996
2022-04-22 18:23 gabrieljenik Bug heat 24 => 30
2022-04-22 18:24 gabrieljenik Relationship deleted has duplicate 17996
2022-04-22 18:24 gabrieljenik Bug heat 30 => 24
2022-04-22 19:25 gabrieljenik Relationship added related to 17996
2022-07-22 15:04 gabrieljenik Relationship added related to 17067
2022-07-26 18:01 DenisChenu Relationship added related to 18279
2023-05-18 00:17 gabrieljenik Status assigned => confirmed
2023-09-08 21:12 gabrieljenik Assigned To gabrieljenik =>