View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
20520Bug reportsPrint Viewpublic2026-05-19 20:53
ReporterMazi Assigned To 
PrioritynoneSeveritypartial_block 
Status newResolutionopen 
Product Version6.17.x 
Summary20520: Headings for array questions are mis-aligned for certain array questions
Description

For the "Print answers" screen the heading for certain array question types are mis-aligned, see attached screenshhot. This affects at least array texts and array numbers question types.

Affected twig view files are located at /themes/survey/vanilla/views/subviews/printanswers/question_types/

The issue is caused by wrong indexing. Index should start at zero.
The fix needs to be applied to template_array-multi-flexi-text.twig and template_array-multi-flexi.twig (and maybe other array question types).
OLD: {% if subquestion.question_order == 1 %}
NEW: {% if subquestion.question_order == 0 %}

Steps To Reproduce

Steps to reproduce

Import the attached survey and activate and run it. Fill the array questions. Check "Print answers" screen at the end after submitting the survey.

Expected result

Correct array table header

Actual result

Header needs to be moved one row up (wrong indexing).

TagsNo tags attached.
Attached Files
image.png (16,445 bytes)   
image.png (16,445 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)6.17.3
I will donate to the project if issue is resolvedNo
Browser
Database type & versionx
Server OS (if known)
Webserver software & version (if known)
PHP Versionx

Users monitoring this issue

There are no users monitoring this issue.

Activities

Mazi

Mazi

2026-05-19 20:53

updater   ~84858

@DenisChenu, @c_schmitz, I think we had fixed this issue before for LS 5.x or even 3.x.

Issue History

Date Modified Username Field Change
2026-05-19 20:52 Mazi New Issue
2026-05-19 20:52 Mazi File Added: image.png
2026-05-19 20:52 Mazi File Added: limesurvey_survey_843576-Demo survey.lss
2026-05-19 20:53 Mazi Note Added: 84858
2026-05-19 20:53 Mazi Bug heat 0 => 2