View Issue Details

IDProjectCategoryView StatusLast Update
14360Feature requests[All Projects] Survey designpublic2019-07-09 13:42
ReporterMaziAssigned Tomarkusfluer 
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
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.

Activities

DenisChenu

DenisChenu

2018-12-18 15:28

developer   ~49991

Last edited: 2018-12-18 15:28

View 2 revisions

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

What about sub question code ?

Mazi

Mazi

2018-12-18 17:42

partner   ~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

partner   ~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

partner   ~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

partner   ~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

View 2 revisions

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

partner   ~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

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 View Revisions
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 View Revisions
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