View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 18219 | Bug reports | Question editor | public | 2022-06-28 14:51 | 2022-06-30 12:09 |
| Reporter | zufolo441 | Assigned To | DenisChenu | ||
| Priority | none | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 5.3.x | ||||
| Summary | 18219: unable to insert code in question | ||||
| Description | Hi, in 5.3.22, when I try to edit a script in question caption and I save, text is devastated. after saving it becomes: Fase. Indicazioni operative {tipo}'' !== ''1'') && (getSessParameter(''comune'') !==''1'')) { $(''#question{QID} input[type = "radio"]'').attr("disabled", true); } }); | ||||
| Steps To Reproduce | edit a question with a script and save. | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 5.3.22 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | Firefox 101 | ||||
| Database type & version | Postgresql 13 | ||||
| Server OS (if known) | FreeBSD 13.1 | ||||
| Webserver software & version (if known) | Nginx + php-fpm | ||||
| PHP Version | 8.0 | ||||
|
source code becomes: Fase. Indicazioni operative {tipo}'' !== ''1'') && (getSessParameter(''comune'') !==''1'')) { $(''#question{QID} input[type = "radio"]'').attr("disabled", true); } });
|
|
|
In Global Settings on the General tab, try changing the Default HTML Editor mode to "Popup" or "HTML source". |
|
|
thanks, it solved! |
|
|
Usage of HTML editor |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-06-28 14:51 | zufolo441 | New Issue | |
| 2022-06-28 14:52 | zufolo441 | Note Added: 70585 | |
| 2022-06-28 14:52 | zufolo441 | Bug heat | 0 => 2 |
| 2022-06-30 03:09 | duvemyster | Note Added: 70618 | |
| 2022-06-30 03:09 | duvemyster | Bug heat | 2 => 4 |
| 2022-06-30 08:47 | zufolo441 | Note Added: 70619 | |
| 2022-06-30 12:09 | DenisChenu | Assigned To | => DenisChenu |
| 2022-06-30 12:09 | DenisChenu | Status | new => closed |
| 2022-06-30 12:09 | DenisChenu | Resolution | open => fixed |
| 2022-06-30 12:09 | DenisChenu | Note Added: 70625 | |
| 2022-06-30 12:09 | DenisChenu | Bug heat | 4 => 6 |