View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 09055 | Bug reports | Plugins | public | 2014-05-27 10:07 | 2026-11-19 22:23 |
| Reporter | DenisChenu | Assigned To | |||
| Priority | normal | Severity | minor | ||
| Status | closed | Resolution | fixed | ||
| Summary | 09055: Bad for attribute for in label for survey settings | ||||
| Description | The label are inactive in survey settings: | ||||
| Steps To Reproduce | Activate AuditLog, and see HTML produced or try to click on label | ||||
| Additional Information | Think it's more a Yii bug ? But must rework CHTML::label here. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 4 | ||||
| Complete LimeSurvey version number (& build) | 140502 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | not relevant (FF23) | ||||
| Database type & version | Mysql 5 | ||||
| Server OS (if known) | debian/linux | ||||
| Webserver software & version (if known) | apache | ||||
| PHP Version | PHP Version 5.4.4 | ||||
| Git branch / Pull Request URL | |||||
|
The label works just fine. Just bootstrap replaces the original select with its own version (and hides the original select) - not mending the label accordingly. |
|
|
Not for survey setting (forme). Click on label of a select in global settings : select2 is selected But no js error now (since update of jquery ?) Confirm But only for select (then select2/Yii). Very little bug here :) |
|
|
I meant the label works in general if the related select box would be visible. But it is not visible. The problem is not Yii but bootstrap. A label points to a name not an ID. |
|
|
No the label is for id, not name : http://www.w3.org/wiki/HTML/Elements/label if there are an id. The javacript to select the select2(js) is OK in global settings. And yes : think it's a TbSelect2.php bug/misfunction/misusing :) |
|
|
In LimeSurvey 7 the settings widget used for plugin survey settings sets the label 'for' attribute to the generated field id (CHtml::getIdByName), so labels point to the right input. Closing as fixed. |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-05-27 10:07 | DenisChenu | New Issue | |
| 2014-06-17 12:05 | c_schmitz | Note Added: 30122 | |
| 2014-06-17 12:06 | c_schmitz | Note Edited: 30122 | |
| 2014-06-17 12:06 | c_schmitz | Project | Bug reports => @10@ |
| 2014-06-17 12:24 | DenisChenu | Note Added: 30124 | |
| 2014-06-17 12:26 | DenisChenu | Note Edited: 30124 | |
| 2014-06-17 13:54 | c_schmitz | Note Added: 30125 | |
| 2014-06-17 14:29 | DenisChenu | Note Added: 30128 | |
| 2026-11-19 22:23 | c_schmitz | Note Added: 87722 | |
| 2026-11-19 22:23 | c_schmitz | Status | new => closed |
| 2026-11-19 22:23 | c_schmitz | Resolution | open => fixed |
| 2026-11-19 22:23 | c_schmitz | Product Version | 2.05+ => |