View Issue Details

This bug affects 2 person(s).
 14
IDProjectCategoryView StatusLast Update
07518Feature requestsSurvey participants (Tokens)public2022-12-13 13:41
Reporterbkgray Assigned To 
PrioritynormalSeverityfeature 
Status newResolutionreopened 
Summary07518: Attributes for survey (in addtion to attributes for tokens)
Description

I run many surveys that use closed access and multiple token attributes for each user. I recycle several of these surveys over the course of an academic year, or from year to year.

In these surveys, there are several places where some text should change for each run of the survey, but should be consistent within the run. For example, one survey is used to collect vacation travel plans from students. The name of the vacation changes every time I run the survey, but it appears in several places within the survey and in the invitation emails. Similarly, I specify dates (used for input validation) that are the same for all students but change for each vacation.

Currently, I manage this by using a token attribute to specify the text, and refer to that attribute throughout the survey and email text as appropriate. This works, but it requires that I add the text as an attribute to the token for each student, even though it's the same for each student.

I would like to suggest a feature that would create a set of attributes for the survey, in addition to the attributes for each token.

Additional Information

A possible solution: Attributes at survey level

I would like to suggest a feature that would create a set of attributes for the survey, in addition to the attributes for each token.

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

Users monitoring this issue

There are no users monitoring this issue.

Activities

galads

galads

2021-11-17 09:17

reporter   ~67378

Dear bkgray ,

Thank you for suggesting a feature.

However, we will not be picking this up because the use case is too specific or the use case might not fit to the latest versions of LimeSurvey.

Other reasons why the feature is dropped could also be, it has been implemented already.

Please check on the latest versions and if the issue still exists, feel free to re-open the report.

kind regards,
galads

Mazi

Mazi

2022-12-12 12:05

updater   ~73056

I am picking this one up since for several of our customers, this becomes an important requirement. We basically need to be able to define additional meta data fields for surveys. These are used in different ways for different projects:

  1. Some users simply want to classify their surveys by defining and assigning a survey type.
  2. Others want to outline which department or part of the organisation is responsible for a survey.
  3. One customer uses dozens of survey copies to evaluate their lessons. They want to define details like location, course type, online/offline, teacher, academic course the evaluation belongs to, faculty

There are many examples like this. So far we have solved this by coding our own meta data plugin to store those details. But it would be perfect if the survey model could provide fields for this.
We are using that information for our custom reporting dashboards e.g. to apply filters or for custom survey overviews which can then be sorted or filtered based on these attributes.

Please consider adding this to the future LS 6.x version.
Let me know if more details are needed.

DenisChenu

DenisChenu

2022-12-12 15:26

developer   ~73067

Last edited: 2022-12-12 15:26

Personally : i use Equation question type for such usage.
Then : you have the data in the response line too

It can be easy to create a plugin for this : https://manual.limesurvey.org/SetVariableExpressionEnd
Sample : https://github.com/LimeSurvey/LimeSurvey/tree/master/application/core/plugins/expressionFixedDbVar

Maybe a core plugin.

ollehar

ollehar

2022-12-13 12:29

administrator   ~73075

Last edited: 2022-12-13 12:33

Some users simply want to classify their surveys by defining and assigning a survey type.

This sounds like tags?

Others want to outline which department or part of the organisation is responsible for a survey.

Can also be covered by tags, maybe? Or you need more info attached to each tag?

One customer uses dozens of survey copies to evaluate their lessons. They want to define details like location, course type, online/offline, teacher, academic course the evaluation belongs to, faculty

All these should be searchable, I assume?

Add survey attributes should have different types, like datetime attribute, free text, dropdown, etc?

DenisChenu

DenisChenu

2022-12-13 12:32

developer   ~73076

Others want to outline which department or part of the organisation is responsible for a survey.
Can also be covered by tags, maybe? Or you need more info attached to each tag?

It's not the SurveyGroup task ?

One customer uses dozens of survey copies to evaluate their lessons. They want to define details like location, course type, online/offline, teacher, academic course the evaluation belongs to, faculty

Equation question : because in general you want to have it in analysis.

Mazi

Mazi

2022-12-13 12:33

updater   ~73077

@ollehar, you can call it "tags" or "survey attributes", it is basically the same.

Yes, searching them is often used at our custom dashboards. We either use a simple search field or of there are predefined lists, we do a "SELECT DISTINCT" on the attribute and then generate a dropdown with the output for applying a filter.

ollehar

ollehar

2022-12-13 12:35

administrator   ~73078

@ollehar, you can call it "tags" or "survey attributes", it is basically the same.

I'd argue it's two different features. Especially in terms of UX, tags are very common and pretty easy to understand and use. Custom attributes is a more advanced feature. Tags usually have no further info than just the tag name itself, and a survey either has it or not.

Mazi

Mazi

2022-12-13 12:36

updater   ~73079

@DenisChenu:

  1. A survey can only be assigned to a single survey group. So you can either use groups to define departments or to define a location or something else, but you can not attribute several details to a survey. I like the concept of survey groups but it has limits.

  2. No, equations don't help a lot since we are aggregating data of several surveys at our overviews. So these survey attributes or tags reside at a level above. We do not need those details at response level.

Mazi

Mazi

2022-12-13 12:38

updater   ~73080

@ollehar: Yes, in this case it really comes to two different features. Survey attributes which could also be used as placeholders within a survey e.g. to easily replace 2022 by 2023 at next years survey and survey tags to assign additional meta data to a survey.
I think technically, both still belong to the survey object.

DenisChenu

DenisChenu

2022-12-13 12:40

developer   ~73081

@Mazi : about SurveyGroup : it's only point 2 «outline which department or part of the organisation is responsible for a survey.»

About equations : yes, thi is not in search/filter list, but if you don't need it when aggregating data of several surveys, i think it's needed a lot.

About tag and search : yes, the filter on Survey Listing must really be improved … starting by filter for each column (if you have a group «Example» and some survey using «Example» in name : you have both … no way to get only «Example» in name.
Having a tag can be a good idea too.

ollehar

ollehar

2022-12-13 13:22

administrator   ~73083

Last edited: 2022-12-13 13:29

Tags can be more general too, e.g. tag questions, groups, etc. So it's meaningful to make that a separate feature.

Would encryption of survey attributes be needed, @Mazi ? Localization or translation?

Feel free to do a "moscow": must-have, should-have, could-have and won't-have.

Mazi

Mazi

2022-12-13 13:41

updater   ~73084

@ollehar, I think encryption will not be needed. We can ignore that 1% using it :-)

Issue History

Date Modified Username Field Change
2016-12-08 10:39 c_schmitz Category Tokens => Survey participants (Tokens)
2021-11-17 09:17 galads Note Added: 67378
2021-11-17 09:17 galads Bug heat 0 => 2
2021-11-17 09:17 galads Assigned To => galads
2021-11-17 09:17 galads Status acknowledged => closed
2021-11-17 09:17 galads Resolution open => fixed
2022-12-09 14:04 guest Bug heat 2 => 8
2022-12-09 14:32 ollehar Status closed => feedback
2022-12-09 14:32 ollehar Resolution fixed => reopened
2022-12-09 14:33 ollehar Status feedback => new
2022-12-12 12:05 Mazi Note Added: 73056
2022-12-12 12:05 Mazi Bug heat 8 => 10
2022-12-12 15:24 DenisChenu Assigned To galads =>
2022-12-12 15:26 DenisChenu Note Added: 73067
2022-12-12 15:26 DenisChenu Bug heat 10 => 12
2022-12-12 15:26 DenisChenu Note Edited: 73067
2022-12-13 12:29 ollehar Note Added: 73075
2022-12-13 12:29 ollehar Bug heat 12 => 14
2022-12-13 12:32 DenisChenu Note Added: 73076
2022-12-13 12:33 Mazi Note Added: 73077
2022-12-13 12:33 ollehar Note Edited: 73075
2022-12-13 12:35 ollehar Note Added: 73078
2022-12-13 12:36 Mazi Note Added: 73079
2022-12-13 12:38 Mazi Note Added: 73080
2022-12-13 12:40 DenisChenu Note Added: 73081
2022-12-13 13:22 ollehar Note Added: 73083
2022-12-13 13:22 ollehar Note Edited: 73083
2022-12-13 13:29 ollehar Note Edited: 73083
2022-12-13 13:41 Mazi Note Added: 73084