View Issue Details

IDProjectCategoryView StatusLast Update
12589Bug reports[All Projects] Survey takingpublic2018-07-23 18:43
ReporterJoffm Assigned ToLouisGac  
PrioritynoneSeveritytweak 
Status assignedResolutionopen 
Product Version2.67.x 
Target VersionFixed in Version 
Summary12589: Randomization, relevance and more than one column in multi response questions
Description

I have a multi respons question with a lot of answer options (e.g 19).
Some are not displayed. This is set by relevance.
The display is in 2 columns.
And the answer options are randomized.
Let's say: 7 answer options are displayed.
So, sometimes there are 4 inth first column, 3 in the econd. This is the expected behaviour.
But you get all possibilities:
1st column: 3, 2nd column: 4
1st column: 2, 2nd column: 5
1st column: 5, 2nd column: 2
1st column: 6, 2nd column: 1
1st column: 1, 2nd column: 6
And even:
1st column: 7, 2nd column: 0

Steps To Reproduce

No problem:
Just create a multi response question with answer option of which some are disabled by relevance.
Set randomization to true, number of columns = 2

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 2.67.3+170728
I will donate to the project if issue is resolvedNo
BrowserFirefox 54,
Database & DB-VersionMySQL 5.6.37
Server OS (if known)SunOS
Webserver software & version (if known)-
PHP Version5.6.31

Relationships

related to 11738 closedDenisChenu Uneven space between filtered answers 

Activities

Joffm

Joffm

2017-08-11 11:43

reporter  

screenshot.1042.jpg (47,354 bytes)
screenshot.1042.jpg (47,354 bytes)
screenshot.1041.jpg (54,078 bytes)
screenshot.1041.jpg (54,078 bytes)
screenshot.1040.jpg (47,824 bytes)
screenshot.1040.jpg (47,824 bytes)
limesurvey_multi_group.lsq (12,878 bytes)
LouisGac

LouisGac

2018-05-23 11:58

manager   ~47765

  1. I don't really understand the bug.
  2. Can you confirm you still face it in LS3?
Joffm

Joffm

2018-07-23 10:24

reporter   ~48548

I can confirm, still in 3.13.2.
The bug is:
If there are only seven answers displayed (in two columns), I expect 4 options in column 1 and three options in column 2,
but now the number of answers in the two columns vary; the worst is: one answer option in column 1 and 6 in column 2.

In general: If some answer options are not displayed (by relevance) the distribution into two columns does not work properly. (a more or less 50/50 distribution)

DenisChenu

DenisChenu

2018-07-23 18:43

developer   ~48552

With some css, you can surely set inline-block + width on li.
https://bugs.limesurvey.org/view.php?id=11787#c41274

Need a attribute for this.

Without randomize : we have

1 2
3 4
5 6

Issue History

Date Modified Username Field Change
2017-08-11 11:43 Joffm New Issue
2017-08-11 11:43 Joffm File Added: screenshot.1042.jpg
2017-08-11 11:43 Joffm File Added: screenshot.1041.jpg
2017-08-11 11:43 Joffm File Added: screenshot.1040.jpg
2017-08-11 11:43 Joffm File Added: limesurvey_multi_group.lsq
2018-05-23 11:58 LouisGac Assigned To => LouisGac
2018-05-23 11:58 LouisGac Status new => feedback
2018-05-23 11:58 LouisGac Note Added: 47765
2018-07-23 10:24 Joffm Note Added: 48548
2018-07-23 10:24 Joffm Status feedback => assigned
2018-07-23 18:41 DenisChenu Relationship added related to 11738
2018-07-23 18:43 DenisChenu Note Added: 48552