Actions

Default answers/en: Difference between revisions

From LimeSurvey Manual

(Importing a new version from external source)
 
(Updating to match new version of source page)
Line 18: Line 18:


</onlyinclude>
</onlyinclude>
[[Category:Question Settings]][[Category:Core Question Settings]]

Revision as of 08:39, 13 June 2013


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}