Actions

Label sets: Difference between revisions

From LimeSurvey Manual

No edit summary
No edit summary
Line 47: Line 47:


<!--T:13-->
<!--T:13-->
Click on '''Manage label sets''' in the '''Configuration''' menu to edit, create, delete, import or export label sets used in the 'flexible' labels questions.
Click on '''Manage label sets''' in the '''Configuration''' menu to edit, create, delete, import or export label sets.


<!--T:30-->
<!--T:30-->
[[File:labels.png]]  
[[File:labels.png]]  


==...add a new label set== <!--T:14-->
==...create or import new label set(s)== <!--T:14-->
*'''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 a label set== <!--T:15-->
Click on the Create or import new label set(s) button located in the upper left corner of the page. You can either create a new label set from scratch or import it from your own computer:
*Create a new label set. In the screen where you can enter the label set details you will find a tab to import an existing label set. Choose a previous exported label set (either a .csv (outdated format) or .lsl file) 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. Duplicate label sets are ignored.
 
*New label set: The label set(s) have to be manually created)
**'''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(s) <!--T:15-->
**In order to import a label set, click on browse and add the '''.lsl''' label set file. If you have previously created a label set, then LimeSurvey will not allow you import an external label set unless you turn off the ''Don't import if label set already exists'' option.  
 
{{Note|If you import a whole survey the label sets are imported too with the questions. Duplicate label sets are ignored.}}


==...edit, delete, or export a label set== <!--T:16-->
==...edit, delete, or export a label set== <!--T:16-->
Line 63: Line 69:
<!--T:17-->
<!--T:17-->
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.
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.
*'''View labels:''' Allows the user to view the labels and its format
*'''Delete label set:''' After a pop-up, you can delete the selected label set.
*'''Edit label set:''' The user can rename the label set and/orr add/remove languages.
*'''Export label set:''' Export current label set to a .lsl-File.
*'''Export label set:''' Export label set to a .lsl file.
*'''Labels bar:'''
*'''Delete label set:''' A window will pop up in order to confirm whether you want to delete the respective label set or not.


<!--T:18-->
<!--T:18-->
Line 95: Line 101:
* Export files as a ZIP archive
* Export files as a ZIP archive
* Import a ZIP archive of files
* Import a ZIP archive of files
[[FIle:Usergroupindex.png]]


<!--T:29-->
<!--T:29-->

Revision as of 12:27, 10 August 2017

General

Label sets are basically list templates where each list has a set of codes with labels and it can be used in most question types either as answers or as sub-questions. Please bear in mind that LimeSurvey's label sets are merely copied to the particular question as sub-questions or answers. Therefore, if you change a label set after you 'used' it in a questionnaire, the changes will not propagate to the questions from the questionnaire where the respective label set was utilized.

This new usage of label sets gives much more flexibility for future development and makes the structure of a question more logical.

  Attention : 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.


You may find below a label set example. Manage user groups#How to... Click here if you want to go straight to the label set management functions of LimeSurvey.

If one wants to define a custom 7-point scale, a label set provides this function. In this example, a very simple custom label set with the code/label pairs is shown (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

You may find below a graphical example where three different smileys are used instead of label text:

How to...

Click on Manage label sets in the Configuration menu to edit, create, delete, import or export label sets.

...create or import new label set(s)

Click on the Create or import new label set(s) button located in the upper left corner of the page. You can either create a new label set from scratch or import it from your own computer:

  • New label set: The label set(s) have to be manually created)
    • 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(s)
    • In order to import a label set, click on browse and add the .lsl label set file. If you have previously created a label set, then LimeSurvey will not allow you import an external label set unless you turn off the Don't import if label set already exists option.
If you import a whole survey the label sets are imported too with the questions. Duplicate label sets are ignored.

...edit, delete, or export a 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.

  • View labels: Allows the user to view the labels and its format
  • Edit label set: The user can rename the label set and/orr add/remove languages.
  • Export label set: Export label set to a .lsl file.
  • Delete label set: A window will pop up in order to confirm whether you want to delete the respective label set or not.

+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="http://www.yourdomain.at/pics/pic.gif">

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.
(: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

Caution:

  • 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.