View Issue Details

IDProjectCategoryView StatusLast Update
14922Bug reportsTheme editorpublic2020-01-28 09:11
Reportertamacheq Assigned Tocdorin  
PrioritynoneSeverityminor 
Status assignedResolutionopen 
Product Version3.16.x 
Summary14922: Hidden question attribute not available for printanwers_question.twig template
Description

Hidden questions are shown in print view. I solved this by including the question id :
{% if (not(question.qid is sameas("5967")) ) %}

Related bugs :
bugs.limesurvey.org/view.php?id=14449
bugs.limesurvey.org/view.php?id=14228

TagsNo tags attached.
Complete LimeSurvey version number (& build)Version 3.16.0+190225
I will donate to the project if issue is resolvedNo
Browser
Database & DB-Version10.1.26-MariaDB-0+deb9u1 Debian 9.1
Server OS (if known) Linux limesurvey 4.9.0-4-amd64 #1 SMP Debian 4.9.51-1 (2017-09-28) x86_64
Webserver software & version (if known)
PHP Version7.0.19-1

Relationships

duplicate of 15529 closedcdorin Bug reports Print answer wrongly includes hidden questions 
related to 14228 new Feature requests Survey and Question Theme need more information 

Activities

DenisChenu

DenisChenu

2020-01-28 09:11

developer   ~55492

My opinion : all attributes must be in print twig part. For example : you can want to show differently list button and list radio. Or want to hide question with class 'hidden' or 'hiddent-print' etc …

Issue History

Date Modified Username Field Change
2019-05-21 17:36 tamacheq New Issue
2019-11-26 17:52 cdorin Assigned To => cdorin
2019-11-26 17:52 cdorin Status new => assigned
2020-01-21 14:20 DenisChenu Relationship added related to 14449
2020-01-21 14:20 DenisChenu Relationship added related to 14228
2020-01-21 14:21 DenisChenu Relationship added duplicate of 15529
2020-01-21 14:21 DenisChenu Relationship deleted related to 14449
2020-01-28 09:11 DenisChenu Note Added: 55492