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

Reuse questions and groups

From LimeSurvey Manual

A question or group you built once does not have to be built again. Within a survey, you duplicate it. For a new survey, you start from a copy of the survey that already has the questions. From another LimeSurvey site, you bring the whole survey over as a file, or, in the classic editor, a single question or group.

Duplicate a question or group in the same survey

In the new editor:

  1. Click the question. Its settings open on the right, and the preview, copy and delete icons appear at the bottom of the question.
  2. Click the copy icon (1). The copy appears right below the original, with a new question code. Give it a meaningful code in Question settings.
Selected question in the new editor with numbered markers on the copy icon and Duplicate group in the group actions menu

To duplicate a whole group, click ... in the group header and then Duplicate group (2). The copy appears below the original with all its questions and the same title. Rename it in Group settings, which opens on the right.

In the classic editor: Open the question and click Tools ⇒ Copy. On the Copy question page, enter a new code, choose what to copy along (Copy subquestions?, Copy answer options?, Copy default answers?, Copy question settings?) and the Question group, and click Save and close. See Copy question. To copy a group, export it (... menu of the group in the Structure tab ⇒ Export) and import it again with Import group, see Import a question group.

Reuse questions in a new survey

Questions belong to their survey. To build a new survey on questions you already have, copy the survey that contains them: in the workspace, click ... on the card of the survey and then Copy. Open the copy, delete what you don't need and add the new questions. See Copy a survey.

Keep the questions you use in many surveys, such as demographics or a standard satisfaction scale, in an inactive template survey. Start every new survey as a copy of it.

Bring a survey from another LimeSurvey site

To reuse questions from another LimeSurvey site, move the whole survey:

  1. On the other site, export the survey as a survey structure file (.lss). In the new editor, that is ... ⇒ Export ⇒ Survey structure (.lss). See Display/Export survey.
  2. On your site, import the file. See Import a survey.
  3. Keep the questions you need, as with a copy.

Importing a question

To import a single question (.lsq file) or question group (.lsg file), use the classic editor:

  1. Open the survey and click the Structure tab, then Add question.
  1. On the Add question page, click Import question at the top left.


Add question page of the classic editor with the Import question button and the Structure tab highlighted


The Import a question page is displayed.


Import a question page with an .lsq file, Destination question group and switches for renaming codes, converting resource links and jumping to the question


  1. Under Select question file (*.lsq), choose the .lsq file (the LimeSurvey question format).
  1. Select the Destination question group for the question.
  1. Choose whether to Automatically rename question code if already exists. If the code is already used in the survey, the question gets a new code. If you turn this off, two questions can have the same code, which causes problems with the ExpressionScript and in exports to R or SPSS.
Hint: To check that the question codes in your survey are unique, use Check logic. It highlights duplicate codes.
  1. Choose whether to Convert resource links. If it is On, references to the original survey in the texts, such as links to its uploaded files, are changed to point to this survey.
  1. Choose whether to Jump to question after import.
  1. Click Import at the top right.


If you don't jump to the question, the import summary is displayed. It shows how many questions, subquestions, answers and question attributes were imported, and any question codes that were renamed.


Import question summary with the counts of imported items, a warning that a question code was renamed, and the Go to question button

You can export a single question as a .lsq file in the classic editor: Tools ⇒ Export on the question page. The new editor only exports whole surveys. Question groups are imported with Import group in the classic editor, see Import a question group.

FAQ

Can I import a .lsq or .lsg file?

Yes, in the classic editor: see Importing a question and Import a question group. Import in the ... menu of the new editor imports a whole survey.

Can I export a single question?

In the classic editor, yes: Tools ⇒ Export on the question page saves a .lsq file. Export in the ... menu of the new editor exports the whole survey, for example as Survey structure (.lss), queXML format (.xml), Tab-separated-values format (.txt) or as a printable survey.

See also