View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
17842Feature requestsSurvey takingpublic2022-01-20 11:37
ReporterLeithy Assigned To 
PrioritynoneSeverityfeature 
Status newResolutionopen 
Summary17842: Way to define surveywide static variables (as as opposed to token based hidden question inside the survey)
Description

Way to define surveywide variables without having to create a hidden question inside the survey - {surveyfield:attributex}

Allows setting of custom {surveyfield:attributex}, probably in the UI for each survey that could be accessed via expression manager in the usual places (questions, email templates, text areas).

Variables could include:

Variable name
Variable description
Value external (url parameter name)
Value internal / defaultvalue

Additional Information

Use case: a single survey that serves different questions and reports based on hidden variables

Current implementation would be to use hidden questions but this leads to a considerable amount of redundant data stored- ie every survey response contains the values of these hidden questions.

TagsNo tags attached.
Bug heat4
Story point estimate
Users affected %

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2022-01-20 08:37

developer   ~68052

Way to define surveywide variables without having to create a hidden question inside the survey - {surveyfield:attributex}

Need more deatil on this way to define, some mockup for example …

jelo

jelo

2022-01-20 11:01

partner   ~68053

@DenisChenu
Think of it as an extension of the survey panel integration screen. Instead of having to create questions as variables and assign them in that screen, you could type in the variable name in that screen and have the chance to choose a default value.

DenisChenu

DenisChenu

2022-01-20 11:04

developer   ~68054

mockup needed …

You can not ask "I want to do this on a better way than currently" without a clear mockup, step by step etc …

Something like {CPBP:ATTRIBUTE} ?

Seems not this way :

Allows setting of custom {surveyfield:attributex}, probably in the UI for each survey

How settings ? probably in the UI ? How ?

Not clear enough …

jelo

jelo

2022-01-20 11:13

partner   ~68055

It might be easier to allow questions/questions groups to be hidden from certain parts of analysis/gui screens or have a special question group to place such variables. Many of us e.g. use the first question group to place all these variables there and place a textscreen inside that group to hide all other questions inside that group.

jelo

jelo

2022-01-20 11:24

partner   ~68056

Not my feature request. I provide mockups all the time ;-) If you have reached the level mockup, it comes the time of the end-opponent "technical debt and complexity" ;-) https://bugs.limesurvey.org/view.php?id=7367

DenisChenu

DenisChenu

2022-01-20 11:37

developer   ~68059

it comes the time of the end-opponent "technical debt and complexity"

Right, totally right …

Issue History

Date Modified Username Field Change
2022-01-19 15:46 Leithy New Issue
2022-01-20 08:37 DenisChenu Note Added: 68052
2022-01-20 08:37 DenisChenu Bug heat 0 => 2
2022-01-20 11:01 jelo Note Added: 68053
2022-01-20 11:01 jelo Bug heat 2 => 4
2022-01-20 11:04 DenisChenu Note Added: 68054
2022-01-20 11:13 jelo Note Added: 68055
2022-01-20 11:24 jelo Note Added: 68056
2022-01-20 11:37 DenisChenu Note Added: 68059