View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
03825 | Bug reports | Survey taking | public | 2009-11-08 02:12 | 2009-12-11 12:17 |
Reporter | tpartner | Assigned To | tpartner | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | fixed | ||
Target Version | 1.87RC5 | Fixed in Version | 1.87RC5 | ||
Summary | 03825: List (radio) by columns not behaving | ||||
Description | If the "Display columns" attribute of a radio question is set to 5 or 7 the lists are not displayed properly. The last column seems to be dropped or empty. In the attached image there should be 5 columns of radio buttons but the <ul class="last"> is empty so only 4 columns are displayed. I've tested all shipped templates with the same results. | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | |||||
I will donate to the project if issue is resolved | |||||
Browser | |||||
Database type & version | |||||
Server OS (if known) | |||||
Webserver software & version (if known) | |||||
PHP Version | |||||
related to | 03894 | closed | horizontal scale wraps for 7 (or more?) items |
@ tpartner: can you fix this on your own? |
|
When displaying select/radios in columns and the number of answers doesn't divide nicely into the number of rows, empty columns are sometimes created, messing up the layout and confusing the user. This is because there is a calculation "maxNumberOfRows = numberOfAnswers/numberOfColumns" (rounded up). This calculation then results in the MaxNumberOfRows being inserted into each column which will, in some cases, leave empty columns. An example: My solution is to add another calculation to limit the numberOfColumns - "numberOfColumns = numberOfAnswers/maxNumberOfRows". (common.php checked in at revision 7878) This will get rid of the extra columns but I'm not sure how to articulate it in the documentation wiki. |
|
Fixed at version 7878 and I've updated the documentation wiki. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2009-11-08 02:12 | tpartner | New Issue | |
2009-11-08 02:12 | tpartner | Status | new => assigned |
2009-11-08 02:12 | tpartner | Assigned To | => user372 |
2009-11-08 02:13 | tpartner | File Added: radiosByColumn_1145x629.gif | |
2009-11-08 17:54 |
|
Note Added: 10016 | |
2009-11-08 17:55 |
|
Assigned To | user372 => tpartner |
2009-11-12 02:13 | tpartner | Note Added: 10073 | |
2009-12-03 14:22 | tpartner | Note Added: 10419 | |
2009-12-03 14:22 | tpartner | Status | assigned => resolved |
2009-12-03 14:22 | tpartner | Resolution | open => fixed |
2009-12-04 00:34 |
|
Fixed in Version | => 1.87RC5 |
2009-12-04 00:34 |
|
Target Version | => 1.87RC5 |
2009-12-04 00:35 |
|
Relationship added | related to 03894 |
2009-12-11 12:17 | c_schmitz | Status | resolved => closed |
2010-10-25 00:18 | c_schmitz | Category | Survey at Runtime => Survey taking |