View Issue Details

IDProjectCategoryView StatusLast Update
14711Feature requests[All Projects] Survey designpublic2019-08-19 11:18
ReporterMazi Assigned Top_teichmann  
PrioritynoneSeverityfeature 
Status assignedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary14711: Add comment field to advanced question settings
Description

Especially when designing more complex surveys or creating surveys with a team it would help a lot if we could have a very simple "Comment" field available for each question (similar to the "CSS class" field) at the advanced question settings.
A simple textarea as additional question attribute would do the trick.

TagsNo tags attached.

Relationships

related to 14723 assignedp_teichmann Development  Global attribute or question dependance 

Activities

DenisChenu

DenisChenu

2019-04-01 16:25

developer   ~51249

???? only used fo admin user ? To explain usage of the question ?
Easy to be done in plugin, but needed in core ?

jelo

jelo

2019-04-01 17:29

partner   ~51250

A Test and comment mode for testing would be nice too. Not that simple to implement, but shameless promotion.
https://bugs.limesurvey.org/view.php?id=7407

Mazi

Mazi

2019-04-01 18:07

partner   ~51260

Of course a fully test feature would be far more complex, but let's start small.

This could also be a plugin, sure, but why not adding core functionality that is easy to implement using the existing question attributes into the code of the already existing question attribute handling.
This should be no super-special feature, just something small and useful to lots of users.

DenisChenu

DenisChenu

2019-04-01 18:21

developer   ~51261

Because current core attribute is so big … add it in plugins/adminComment.php in LimeSurvey core and you have the same thing, just need activation. Then you have it if you need, but don't have it if you don't need.
See https://www.limesurvey.org/forum/installation-a-update-issues/118065-slider-starts-at-5-instead-of-the-minimum-value#182640
See https://github.com/LimeSurvey/LimeSurvey/blob/master/application/helpers/questionHelper.php#L37-L1573 and try to fix one sentence in this file ?

More easy to fix and improve in plugins/adminComment.php file : ~ 100 lines or less file …

I add https://github.com/LimeSurvey/LimeSurvey/tree/develop/plugins/mailSenderToFrom to fix office360 in develop. It can be in core, but really more simple in plugin (since plugin allow ALL email update).

Mazi

Mazi

2019-04-02 15:33

partner   ~51277

@c_schmitz, we could implement this as a new question attribute for LS 4 and also take care of the documentation. Can we go ahead?

DenisChenu

DenisChenu

2019-04-02 15:40

developer   ~51278

Last edited: 2019-04-02 15:40

View 2 revisions

@Mazi : please : take in account usage . The usage are only for big company where there are multiple user‘s

To add it in core plugin ( puglins/ or core/plugins) you just need https://gitlab.com/SondagesPro/addScriptToQuestion/blob/master/addScriptToQuestion.php#L83 part (here 2.6lts + 3.X compatible).
To activate it by default : https://github.com/LimeSurvey/LimeSurvey/blob/d1257e624ca06176dd27af6a5d59a11dfc1d05cb/application/core/LsDefaultDataSets.php#L935

markusfluer

markusfluer

2019-04-02 15:42

administrator   ~51279

In LS4 attributes are defined by the questiontypes xml so this can be implemented very quickly.
E.g.:
https://github.com/LimeSurvey/LimeSurvey/blob/develop/application/views/survey/questions/answer/arrays/array/config.xml

DenisChenu

DenisChenu

2019-04-02 15:44

developer   ~51280

It can be , but here : need a global (for ALL question type).

DenisChenu

DenisChenu

2019-04-02 15:46

developer   ~51281

Last edited: 2019-04-02 15:54

View 2 revisions

@markusfluer : we can not add in 4.0 a global attribute ?
See https://github.com/LimeSurvey/LimeSurvey/blob/d1257e624ca06176dd27af6a5d59a11dfc1d05cb/application/views/survey/questions/answer/arrays/array/config.xml#L257 cssclass for example ?

Maybe something must be done array extend multiple extend base : base have cssclass ?
I open a Dev report

LouisGac

LouisGac

2019-07-30 15:21

manager   ~53043

Patrick, please, give us a feedback on that

p_teichmann

p_teichmann

2019-08-19 09:57

administrator   ~53189

@LouisGac yes it should be easily possible to define another attribute or even add it to the array after or before reading the xml

DenisChenu

DenisChenu

2019-08-19 11:17

developer   ~53194

Last edited: 2019-08-19 11:18

View 2 revisions

For 3.X
https://gitlab.com/SondagesPro/managament/commentsOnSurvey

See screenshot for usage.

Best usage for token related survey (or with reloadAnyResponse)

DenisChenu

DenisChenu

2019-08-19 11:17

developer  

Issue History

Date Modified Username Field Change
2019-04-01 15:35 Mazi New Issue
2019-04-01 16:25 DenisChenu Note Added: 51249
2019-04-01 17:29 jelo Note Added: 51250
2019-04-01 18:07 Mazi Note Added: 51260
2019-04-01 18:21 DenisChenu Note Added: 51261
2019-04-02 15:33 Mazi Note Added: 51277
2019-04-02 15:40 DenisChenu Note Added: 51278
2019-04-02 15:40 DenisChenu Note Edited: 51278 View Revisions
2019-04-02 15:42 markusfluer Note Added: 51279
2019-04-02 15:44 DenisChenu Note Added: 51280
2019-04-02 15:46 DenisChenu Note Added: 51281
2019-04-02 15:53 DenisChenu Relationship added related to 14723
2019-04-02 15:54 DenisChenu Note Edited: 51281 View Revisions
2019-07-30 15:21 LouisGac Assigned To => p_teichmann
2019-07-30 15:21 LouisGac Status new => assigned
2019-07-30 15:21 LouisGac Note Added: 53043
2019-08-19 09:57 p_teichmann Note Added: 53189
2019-08-19 11:17 DenisChenu Note Added: 53194
2019-08-19 11:17 DenisChenu File Added: Capture d’écran du 2019-08-19 11-17-05.png
2019-08-19 11:17 DenisChenu File Added: Capture d’écran du 2019-08-19 11-17-30.png
2019-08-19 11:18 DenisChenu Note Edited: 53194 View Revisions