Actions

Default answers

From LimeSurvey Manual

Revision as of 21:00, 5 May 2013 by C schmitz (talk | contribs) (Created page with "<translate> <!--T:1--> <languages /> <onlyinclude> ===Default values (defaults)=== '''Description''' This lets you set the default values for certain list and multiple choi...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Default values (defaults)

Description

This lets you set the default values for certain list and multiple choice question types.

Starting in version 1.92, you can also set default values for text-entry questions.

Valid values

  • For multiple choice questions, you will see drop-down boxes letting you select the desired default
  • For text-entry questions, you will have a text entry field in which you can enter any string or expression. If you use an expression, you need to include curly braces

Example

  • You have a non-anonymous survey, where {TOKEN:ATTRIBUTE_1} is the person's age as of the time the tokens table was created. You want to prefill a question with the person's age and ask them to validate that the age is accurate, or let them change the age value if it is not accurate. In the text entry field for the default value, you would enter {TOKEN:ATTRIBUTE_1}