View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
14360Feature requestsSurvey editingpublic2020-02-21 08:58
ReporterMazi Assigned Tomarkusfluer 
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Summary14360: Add new global setting to define start value for answer codes
Description

Some years ago answer codes at Limesurvey started at "1". That has changed to "A1" which makes it really hard to analyze data when exporting answer codes. The codes are not numeric anymore.
While at earlier versions it was just 3 clicks to export to excel and get the AVG value for a certain column, you now have to adjust answer codes first and turn "A1" into "1".

As discussed at the DEV meeting a new global setting "Answer code start value" would be very useful. Then the user can define the start value and the system could adjust follow up codes accordingly.
Possible start values and follow up codes:
0 (used for special statistics as I was told): 1 , 2 , 3, ...
1 (the old default value): 2 , 3 , 4 ...
A1 (the current one): A2 , A3 , A4 , ....
"yes" (string): Could use "yes1", "yes2", ... ?

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

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2018-12-18 15:28

developer   ~49991

Last edited: 2018-12-18 15:28

Can be only in config.php file or must be in GUI ?

What about sub question code ?

Mazi

Mazi

2018-12-18 17:42

updater   ~49997

I think this should be a GUI setting. A very simple text input field with max length = X characters being available at the Global Settings.

DenisChenu

DenisChenu

2018-12-18 17:45

developer   ~49999

max lenght of answer var is 5, then if user pout ABCD : he can set (automatically) only 36 answers ;)

DenisChenu

DenisChenu

2018-12-18 17:46

developer   ~50000

About export : https://gitlab.com/SondagesPro/ExportAndStats/exportTripleS/blob/master/exportTripleS.php#L54

It can be a export option too : export order OR export assessment value OR export code etc …

Mazi

Mazi

2018-12-18 17:51

updater   ~50002

This is mostly about survey design because it also affects survey which make use of answer codes at conditions. Take for example a rating questin with 5 optiins from very good to very bad and you only want to show a comment question "Why did you rate XYZ so bad" if there was a rating of 4 or 5. The relevance equation would be
questioncode.NAOK gt 3

Mazi

Mazi

2019-04-01 15:33

updater   ~51248

@dominikvitt, how are the chances of implementing this at LS 4? This is something very helpful to lots of users.

Mazi

Mazi

2019-04-02 15:47

updater   ~51282

@c_schmitz, according to @markusfluer and others this is an often requested improvement and can even be considered a regression since we once had the numeric answer codes by default at LS 2.0x or 2.5x (don't remember the exact details).

Can you please decide whether to add this to LS 4?

ollehar

ollehar

2019-05-07 14:49

administrator   ~51792

Last edited: 2019-05-07 14:49

This will be resolved by new feature "answer option template" in LS4. Please close when implemented.

ollehar

ollehar

2019-05-07 15:02

administrator   ~51793

Possibly solvable by instead exporting assessment values for answer options, BUT might make survey creation more tedious.

Mazi

Mazi

2019-07-09 13:37

updater   ~52801

@markusfluer, since https://bugs.limesurvey.org/view.php?id=15033 block checking it myself: Was this ("This will be resolved by new feature "answer option template" in LS4.") already implemented?

markusfluer

markusfluer

2019-07-09 13:42

administrator   ~52802

It's not part of the RC, but it is on the List for the final release

Mazi

Mazi

2020-02-20 17:45

updater   ~56113

@ollehar, I think we can close this one since it is implemented at LS 4?

Please double check if we also have documentation at the manual on how the new setting works.

DenisChenu

DenisChenu

2020-02-20 18:03

developer   ~56114

Where is the manual part about this feature ?

ollehar

ollehar

2020-02-20 18:04

administrator   ~56115

No manual, not finished ;) Keep it open. Maybe we need a new state? "Documentation"?

DenisChenu

DenisChenu

2020-02-21 08:58

developer   ~56128

Or a category : maybe create a category Manual.

And when a new feature is done : create the related mantis (child of)

Issue History

Date Modified Username Field Change
2018-12-18 15:27 Mazi New Issue
2018-12-18 15:28 DenisChenu Note Added: 49991
2018-12-18 15:28 DenisChenu Note Edited: 49991
2018-12-18 17:42 Mazi Note Added: 49997
2018-12-18 17:45 DenisChenu Note Added: 49999
2018-12-18 17:46 DenisChenu Note Added: 50000
2018-12-18 17:51 Mazi Note Added: 50002
2019-04-01 15:33 Mazi Note Added: 51248
2019-04-02 15:47 Mazi Note Added: 51282
2019-05-07 14:49 ollehar Assigned To => markusfluer
2019-05-07 14:49 ollehar Status new => assigned
2019-05-07 14:49 ollehar Note Added: 51792
2019-05-07 14:49 ollehar Note Edited: 51792
2019-05-07 15:02 ollehar Note Added: 51793
2019-07-09 13:37 Mazi Note Added: 52801
2019-07-09 13:42 markusfluer Note Added: 52802
2019-11-01 17:25 c_schmitz Category Survey design => Survey editing
2020-02-20 17:45 Mazi Note Added: 56113
2020-02-20 18:03 DenisChenu Note Added: 56114
2020-02-20 18:04 ollehar Note Added: 56115
2020-02-21 08:58 DenisChenu Note Added: 56128