x

Main chapters

  1. Get started
  2. Workspace
  3. Editor
  4. Question types
  5. Share
  6. Results
  7. Configuration
  8. Installation and updates
  9. Profile and personal settings
  10. Account and billing
  11. FAQs
  12. Development
 Actions

Adding answers or subquestions

From LimeSurvey Manual
This page describes answer options and subquestions in the new editor. For the classic editor, see Adding answers or subquestions (classic editor).



General

Some question types need more than a question text:

  • Single choice questions need answer options, the choices a participant picks from.
  • Multiple choice questions use subquestions, one per checkbox.
  • Array questions use subquestions as rows, and most of them use answer options as the shared scale in the columns.
  • Text, number, date and file upload questions use neither.
To find out more about the available LimeSurvey question types, please continue reading the following wiki section.

Every subquestion and answer option has a code and a text. The text is what participants see. The code identifies the item in exports and in ExpressionScript, for example in relevance equations. Codes may only contain letters and numbers and must be unique within the question. Answer option codes have up to 5 characters, subquestion codes up to 20.

While a survey is active, you can change the texts, but you can't add, remove or reorder subquestions. To change the structure of the question, deactivate the survey first. See Closing a survey.

Add and edit the items

You add and edit subquestions and answer options directly on the question card. The editor saves as you type. There is no Save button.

Add answer options (single choice questions)

  1. Click the question. A new single choice question already has two rows called Answer option.
  2. Click a row and type the answer text.
  3. Click Add answer below the last row to add another option.
  4. To remove an option, click the red x in front of it. To change the order, drag the handle (the six dots) next to it.

Add subquestions (multiple choice questions)

  1. Click the question.
  2. Click a row and type the subquestion text.
  3. Click Add subquestion below the last row to add another one.
  4. Remove or reorder rows with the red x and the drag handle, as for answer options.

Add rows and columns to an array

  1. Click the array question. Rows are subquestions, columns are answer options.
  2. To add a row, click the purple + bar below the last row and type the text.
  3. To add a column, click the purple + column at the right of the grid and type the label.
  4. To remove a row, click the red x in front of it. To remove a column, click the red x above it.
Array question in the survey editor with red x icons to remove rows and columns and purple + bars to add a row below and a column at the right
To see or edit the codes (SQ001, A001 and so on), open the ... menu at the top right of the editor and switch on Question codes. The codes then appear next to the rows and columns of the selected question.

Hints & Tips

  • You can adjust the layout as well as include pictures or other media elements in your individual answers. In the classic editor, click the pencil icon at the end of the answer text box and use the HTML 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. See Label sets.

FAQ

Which question types have subquestions, and which have answer options?

Single choice types (List (radio), Dropdown, Single choice buttons and the others in that category) have answer options only. Multiple choice types have subquestions only. Arrays have subquestions and, in most cases, answer options. Text, number, date and file upload questions have neither.

Where do I make a question mandatory?

In the new editor, click the question and use Mandatory in the Question settings panel on the right. In the classic editor, Mandatory is under General settings on the edit page of the question. Choose On, Soft (the participant is asked to answer but can continue) or Off.

See also