Insert Answer from Previous Question

Insert Answer from Previous Question

Insert answers from previous questions

LimeSurvey allows you to insert answers from previous questions into the text of a question.
  • You can refer to answers on the same page and even dynamically update tailored messages as responses change on the page.
  • You can do this by using question code naming.  For more details, refer to the ExpressionScript documentation.
A wizard has been integrated in the WYSIWYG HTML editor (FCKeditor) so that you can easily insert previous question/answer codes. This plugin is called LimeReplacementFields

In order to use this feature in the FCKeditor:
  1. Click the "lime between brackets" icon.
  2. Select a question from the select box.

Editor replacementfields button.png
Only answers from previous pages are displayed.

LimeReplacementFields notice: When you want to delete a reference to a {name} tag, please select all characters from the opening bracket to the closing bracket and press delete: DO NOT erase it character by character with the delete or backspace key, otherwise the field will appear again.

    • Related Articles

    • Question Settings

      Question settings Note: The question settings panel is displayed when you add/edit a question and is located on the right. The settings displayed may vary based on the question type selected. Please refer to the screenshot below for a basic overview ...
    • Insert Values from Survey Participants Table

      Insert value from the Survey Participants Table You can insert values from the survey participants table into your question so that it can show context related information. Think of the participants first name or last name or email address.  For ...
    • Preview Question

      Preview a question There a two ways to preview a question: (1) from the Question summary page or (2) while editing a question. 1. Preview a question from the question summary page You can access the Question summary page from the (a) Settings tab or ...
    • Question Summary

      Question summary The page is divided into three sections. Question toolbar: You will find the following options on the toolbar: Preview survey: Click to preview the entire survey. Preview question group: Click to preview only the current question ...
    • Add a Question

      Add a question Once you have created your question groups, you can start adding questions to each group. There are several ways to add questions. A few are presented below. 1. You can add questions from the Survey structure menu. 2. You can access a ...