Difference between revisions of "Label sets"

From LimeSurvey Manual

(No difference)

Revision as of 14:29, 2 May 2009


Label sets are basically lists; each list has a set of codes and a set of labels and can be used in multiple choice answers in a variety of ways. Your question must be of type "flexible labels" to assign a label set to it. More details are provided in the Question types page.

Hint: A label set must be at least contain the same base language as the survey, else you will not be able to use it for any question of your survey.

An example of label set is as follows. If one wants to define a custom 7-points Likert scales, a label set provides this function. In this example, a very simple custom label set with the code/label pairs is shown. Note that the label is what appears in the actual questions.

code label
1 not useful at all
2 2
3 3
4 somewhat useful
5 5
6 6
7 very useful

Another graphical example:

Graphic (3 different smileys) instead of label text:


How to.

Click on the Labels.png "Edit/Add Label Sets"-Icon in the Administration-Menu to edit, create, delete, import or export label sets used in the 'flexible' labels questions.

Add New Label Set:

  • Set Name: Each new label set has to be given a name.
  • Languages: Every label set must be specified for the language it's used for. You can choose as many languages from the menu as you want.

Import label set:

  • Choose a previous exported label set in a .csv-Format and click on the "Import Label Set"-Button to import. Alternative: import a whole survey - in this case the Label-Sets are imported with the questions.
  • To edit a label set outside of LimeSurvey (for instance, using a text editor or Excel), see this tutorial: Editing label sets using Microsoft Excel.

Edit, delete, export label set:

Choose an already existing label Set in the drop-down-Box in the label set administration bar to edit, delete or export a label set.

  • Edit label set: Here it´s possible to rename the Label Set and add/remove languages for this Label Set.
  • Delete label set: After a pop-up, you can delete the selected Label Set.
  • Export label set: Export current Label Set to a .csv-File.
  • Labels bar:

+To add a new label you have to fill in a label code, assessment value and label-text and press on the "Add new label"-Button. After this the label should be listed above. It's possible to use a graphic instead of or additionally to a label text. Just use HTML-code to include the graphic you want, e.g.:

<img border="0" src="">

If your label set has more than one language, you can choose which language you want to edit. Every label needs a code, an assessment value and a title. The code can only be changed in the base language of the Label Set. The assessment value can be ignored (set it to 0) if you do not use assessments. The title is the text, which is displayed in the question.

  • Del-button: You can delete labels with the "Del"-button.
  • Up/down-buttons: It's possible to change the row of labels by the "Up" and "Dn"-buttons.
  • Fix sort: You can check the consistency and do a sort of the labels by pressing the "Fix Sort"-Button.

Labels which are in use by questions are hyperlinked to the question.

(:idea:) Hint: The order of the labels can be modified by editing the label-set, however it is not possible to add new labels once the label-set is in use with question of an active survey.
(:idea:) Hint: Some useful label sets are available on the limesurvey site

Uploaded resources management

This tab lets you manage files (pictures, media files) that were uploaded in the HTML Editor.

You can:

  • Browse available files
  • Export files as a ZIP archive
  • Import a ZIP archive of files


  • Authorized file extensions are defined in config-defaults.php by your system administrator.
  • Files for the survey are in the upload/labels/<lid> sub directory.
    • Uploaded files will only be seen while browsing resources on this survey objects (labels) not in other labels or objects (groups, questions, answers).
    • However do not expect this limited visibility to ensure confidentiality of the resources as they are reachable with a simple browser to anyone who knows the URL to the file.
  • Creation of sub directories of the ZIP archive won't work.
  • You can't import a ZIP file containing sub directories.