Actions

Adding answers or subquestions: Difference between revisions

From LimeSurvey Manual

mNo edit summary
m Reverted edit by C schmitz (talk) to last revision by Han
Tag: Rollback
 
(30 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<languages /> <translate>
<languages /> <translate>


=General= <!--T:1-->
 
<!--T:6-->
__TOC__
 
 
=General= <!--T:7-->


<!--T:2-->
<!--T:2-->
Various question types require you to add a list of answer options and/or subquestions.
Different question types allow you to create advanced questions for your survey respondents. Adding answers and/or subquestions represent one way through which you can increase the complexity of your survey.
 
<!--T:8-->
<div class='simplebox'>[[File:help.png]] To find out more about the available LimeSurvey question types, please continue reading [[Question types|the following wiki section]].</div>


<!--T:3-->
<!--T:9-->
To add answers to one of these question types click on the [[File:answers.png]] "Add/Edit Answers for this Question" icon in question button bar.
To start adding answers and subquestions, click on the question you wish to edit and look for the '''edit answer''' (or '''subquestion''') button:
 
 
<!--T:10-->
<center>[[File:Edit subquestions example.png]]</center>


<!--T:4-->
<!--T:4-->
When adding an answer you will be asked for an "Answer Code", an "Answer" and whether that answer is the "Default".
When adding an answer you have to assign each answer/subquestion a ''code'' (which can be used for [https://manual.limesurvey.org/Expression_Manager#Relevance_.28Controlling_Navigation.2FBranching.29 ExpressionScript relevance equations], for example) and you have to enter the ''answer/subquestion text''.
#'''Code:''' This is the data that will usually be exported to your spreadsheet when compiling results. You may choose whatever code you want (5 character maximum). The code can only contain standard alpha-numeric characters and has to be unique among the answer options for this question.
 
#'''Assessment value:'''  This field will only show if the assessments mode is activated in the survey settings (v1.81 and later). It can be set to a positive or negative integer value. For more information please check out the [[Assessments]] page.
<!--T:14-->
#'''Text:''' The answer/subquestion that will be displayed.
# '''Position:''' Click the "three-lines" symbol and drag it up and down to reorder the fields.
#*You can adjust the layout as well as include pictures or other media elements in your individual answers. This is possible by clicking on the ''pencil icon'' at the end of the answer text-box and [[First login - Your user preferences#The HTML editor mode|using the WYSIWYG editor]] to create edit or design your answer layout as well as upload images and media.
# '''Code:''' This is the data that will usually be exported to your spreadsheet when compiling results. You may choose whatever code you want (5 character maximum). The code can only contain standard alpha-numeric characters and has to be unique among the answer options for this question.
#*There is a special feature to create an answer that is showing up left and right of an array row (this works only with the question type [[Question types#Array|Array]] ). This can be done by using a pipe char '|'  to part the answer. For example: If you want to have 'Good' and 'Evil' on the left and right of the row just write 'Good|Evil' into this field. This is essentially useful if you want to create a ''Semantic Differential Question''.
# '''Assessment value:''' <sup>Only for answers</sup> This field will only show if the assessments mode is activated in the survey settings. It can be set to a positive or negative integer value. For more information, please check out the [[Assessments|assessments]] wiki section.
#'''Sort order:''' This determines the sort-order of the answers. You can use the "Up" and "Dn" buttons next to each answer to change the position of that answer in the list.
# '''Text answer/subquestion:''' The answer/subquestion text that will be displayed to your survey respondents.
## ''HTML Editor:'' Click on the green pencil button to increase the complexity of your answer/subquestion text (e.g., you can add images, videos, and so on).
# '''Relevance equation:''' <sup>Only for subquestion (Y-axis)</sup> This field allow you to set a relevance using [[ExpressionScript - Presentation|ExpressionScript]]
# '''Actions:''' Two actions are available:
## ''Add new field:'' Click on the green "plus" button to introduce a new answer/subquestion;
## ''Delete this field:'' Click on the red "trash" button to delete the respective field.
 
== Specific for Answers== <!--T:20-->
 
<!--T:11-->
<div class='simplebox'>[[File:help.png]] Please note the '''edit answers''' is different from the '''edit default answers''' one. Click on the following [[Default_answers|link]] to read more about the possibility to edit the default answers in LimeSurvey.</div>
 
<!--T:12-->
If the [[Assessments|assessment mode]] is enabled, you can - for certain question types - also enter an ''assessment value'' for each answer.
 
<!--T:21-->
<center>[[File:Add_edit_subquesitons_answers.png]]</center>
 
== Specific for subquestions== <!--T:22-->
 
<!--T:23-->
The relevance equation is available only for the subquestions located on the X axis . It is the default axis if there is only one list of subquestions (except array by columns):
 
 
<!--T:24-->
<center>[[File:Limesurvey-subquestions.png]]</center>
 
=Hints & Tips= <!--T:15-->
 
<!--T:16-->
*You can adjust the layout as well as include pictures or other media elements in your individual answers. This is possible by clicking on the ''pencil icon'' at the end of the answer text-box and [[First login - your user preferences#HTML editor mode|using the WYSIWYG editor]] to create, edit or design your answer layout as well as upload images and media.
 
<!--T:17-->
*There is a special feature to create an answer that is showing up left and right of an array row (this works only with the question type [[Question types#Array|Array]]). This can be done by using a pipe char '|'  to part the answer. For example, if you want to have 'Good' and 'Evil' on the left and right side of the row, just write 'Good|Evil' into this field. This is essentially useful if you want to create a ''Semantic Differential Question''.
 
<!--T:18-->
*'''Relevance:''' You can enter [https://manual.limesurvey.org/ExpressionScript_-_Presentation#Relevance_and_Cascading_Relevance relevance equations] for each subquestion (available for question types using subquestions such as multiple choice or array questions). In this way, you can conditionally show/hide certain items of your question. The default value of "1" means that the item is always shown.
 
 
<!--T:19-->
{{Hint|Text=Always perform a [[Show_logic_file|logic file check]] to make sure your relevance equation has no errors.}}


<!--T:5-->
<!--T:5-->
You can import/export labelsets, too. If you have a list of e.g. countries and you want to use them as answers in a dropdown list you can use export/import to get the existing data into limesurvey.
*You can import/export label sets, too. For example, if you have a list of countries and you want to use them as answers in a dropdown list, you can use the export/import functionalities to get the existing data into your LimeSurvey installation.
 
</translate>
</translate>

Latest revision as of 09:56, 15 October 2024


General

Different question types allow you to create advanced questions for your survey respondents. Adding answers and/or subquestions represent one way through which you can increase the complexity of your survey.

To find out more about the available LimeSurvey question types, please continue reading the following wiki section.

To start adding answers and subquestions, click on the question you wish to edit and look for the edit answer (or subquestion) button:


When adding an answer you have to assign each answer/subquestion a code (which can be used for ExpressionScript relevance equations, for example) and you have to enter the answer/subquestion text.

  1. Position: Click the "three-lines" symbol and drag it up and down to reorder the fields.
  2. Code: This is the data that will usually be exported to your spreadsheet when compiling results. You may choose whatever code you want (5 character maximum). The code can only contain standard alpha-numeric characters and has to be unique among the answer options for this question.
  3. Assessment value: Only for answers This field will only show if the assessments mode is activated in the survey settings. It can be set to a positive or negative integer value. For more information, please check out the assessments wiki section.
  4. Text answer/subquestion: The answer/subquestion text that will be displayed to your survey respondents.
    1. HTML Editor: Click on the green pencil button to increase the complexity of your answer/subquestion text (e.g., you can add images, videos, and so on).
  5. Relevance equation: Only for subquestion (Y-axis) This field allow you to set a relevance using ExpressionScript
  6. Actions: Two actions are available:
    1. Add new field: Click on the green "plus" button to introduce a new answer/subquestion;
    2. Delete this field: Click on the red "trash" button to delete the respective field.

Specific for Answers

Please note the edit answers is different from the edit default answers one. Click on the following link to read more about the possibility to edit the default answers in LimeSurvey.

If the assessment mode is enabled, you can - for certain question types - also enter an assessment value for each answer.


Specific for subquestions

The relevance equation is available only for the subquestions located on the X axis . It is the default axis if there is only one list of subquestions (except array by columns):


Hints & Tips

  • You can adjust the layout as well as include pictures or other media elements in your individual answers. This is possible by clicking on the pencil icon at the end of the answer text-box and using the WYSIWYG editor to create, edit or design your answer layout as well as upload images and media.
  • There is a special feature to create an answer that is showing up left and right of an array row (this works only with the question type Array). This can be done by using a pipe char '|'  to part the answer. For example, if you want to have 'Good' and 'Evil' on the left and right side of the row, just write 'Good|Evil' into this field. This is essentially useful if you want to create a Semantic Differential Question.
  • Relevance: You can enter relevance equations for each subquestion (available for question types using subquestions such as multiple choice or array questions). In this way, you can conditionally show/hide certain items of your question. The default value of "1" means that the item is always shown.


 Hint: Always perform a logic file check to make sure your relevance equation has no errors.


  • You can import/export label sets, too. For example, if you have a list of countries and you want to use them as answers in a dropdown list, you can use the export/import functionalities to get the existing data into your LimeSurvey installation.