View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
09486 | Bug reports | Expression Manager | public | 2015-01-30 19:46 | 2015-02-03 08:54 |
Reporter | andrewz | Assigned To | DenisChenu | ||
Priority | normal | Severity | minor | ||
Status | closed | Resolution | not fixable | ||
Product Version | 2.05+ | ||||
Summary | 09486: dynamic images based on variable | ||||
Description | I'd like to display a dynamic image using a variable from another question (which is an equation), but it does not resolve correctly. | ||||
Steps To Reproduce | I tried two formats. First is like the documentation <https://manual.limesurvey.org/Expression_Manager_HowTos> showing [img src='images/users{name}.jpg' alt='blah/']; Second is like bug 5686 showing <img scr=images/{age}.jpg> | ||||
Additional Information |
| ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Bug heat | 4 | ||||
Complete LimeSurvey version number (& build) | Version 2.05+ Build 141229 | ||||
I will donate to the project if issue is resolved | No | ||||
Browser | Firefox 35 | ||||
Database type & version | MySQL 5.5 | ||||
Server OS (if known) | CentOS release 5.11 | ||||
Webserver software & version (if known) | Apache 2? | ||||
PHP Version | 5.3.29 | ||||
I am attaching the survey group |
|
If the question is in same group, it can be updated , then need is for javascript. Move it at the group before and it come static. |
|
@DenisChenu: The issue is not whether ChildName (an equation "question") is static, though it is static because of the conditional "if(is_empty...)". If it were an issue of the field changing, then the wrong image would load, but actually an image never loads. Regardless of the contents of "ChildName," it is not possible to make a dynamic IMG element because of the extra SPAN element. If variables inside an IMG are not supported, then the documentation is wrong (https://manual.limesurvey.org/Expression_Manager_HowTos%3E) |
|
The doc is rigth if the First question is in another group. 1st group : IMG Choose the image : list of choice A1, A2. If it's same group Then : move it to another group or use Question by question mode. |
|
See https://manual.limesurvey.org/Expression_Manager_HowTos#Types_and_Meanings_of_Syntax_Highlighting |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2015-01-30 19:46 | andrewz | New Issue | |
2015-01-30 20:16 | andrewz | Note Added: 31580 | |
2015-01-30 20:16 | andrewz | File Added: limesurvey_group_22.lsg | |
2015-02-01 18:07 | DenisChenu | Note Added: 31582 | |
2015-02-02 11:12 | c_schmitz | Status | new => closed |
2015-02-02 11:12 | c_schmitz | Assigned To | => c_schmitz |
2015-02-02 11:12 | c_schmitz | Resolution | open => won't fix |
2015-02-02 19:40 | andrewz | Note Added: 31606 | |
2015-02-02 19:40 | andrewz | Status | closed => feedback |
2015-02-02 19:40 | andrewz | Resolution | won't fix => reopened |
2015-02-03 08:37 | DenisChenu | Note Added: 31609 | |
2015-02-03 08:41 | DenisChenu | Status | feedback => closed |
2015-02-03 08:41 | DenisChenu | Resolution | reopened => won't fix |
2015-02-03 08:54 | DenisChenu | Assigned To | c_schmitz => DenisChenu |
2015-02-03 08:54 | DenisChenu | Note Added: 31610 | |
2015-02-03 08:54 | DenisChenu | Status | closed => feedback |
2015-02-03 08:54 | DenisChenu | Resolution | won't fix => reopened |
2015-02-03 08:54 | DenisChenu | Status | feedback => closed |
2015-02-03 08:54 | DenisChenu | Resolution | reopened => not fixable |