Actions

Translations

Questions - introduction/6/en: Difference between revisions

From LimeSurvey Manual

(Importing a new version from external source)
 
m (Text replace - "<br/>" to "<br />")
Line 1: Line 1:
<div class="simplebox">Note: The question Code should be unique, and must start with a letter or underscore, and only contain letters, numbers, and underscores.  If you ever tried to export your data to SPSS or R, you discovered that the qcode becomes the value label, so you have to make code unique.  For the time-being, LimeSurvey will support legacy code values, but the [[Show Logic File|Show Logic File]] button will color-code such questions so that you know you should change their names.</div>
<div class="simplebox">Note: The question Code should be unique, and must start with a letter or underscore, and only contain letters, numbers, and underscores.  If you ever tried to export your data to SPSS or R, you discovered that the qcode becomes the value label, so you have to make code unique.  For the time-being, LimeSurvey will support legacy code values, but the [[Show Logic File|Show Logic File]] button will color-code such questions so that you know you should change their names.</div>
*'''Question:''' This is the actual question being asked. There is no real limit to the length of the question here, however if you want to explain the question, leave that for the "Help" field. HTML-code can be used, e.g., for including images:<br/><nowiki><img src="http://www.yourdomain.com/yourpics/pic.jpg"></nowiki>
*'''Question:''' This is the actual question being asked. There is no real limit to the length of the question here, however if you want to explain the question, leave that for the "Help" field. HTML-code can be used, e.g., for including images:<br /><nowiki><img src="http://www.yourdomain.com/yourpics/pic.jpg"></nowiki>
*'''Help:''' This is an optional field. It is useful if a question needs some explanation, or you want to explain how it should be answered. When you put text in this field, a "Question Mark" icon appears on the survey entry screens with the help text right beside.
*'''Help:''' This is an optional field. It is useful if a question needs some explanation, or you want to explain how it should be answered. When you put text in this field, a "Question Mark" icon appears on the survey entry screens with the help text right beside.
*'''Question type:''' This determines the type of response the survey allows. View the [[Question types]] section for a description of the various options available.
*'''Question type:''' This determines the type of response the survey allows. View the [[Question types]] section for a description of the various options available.
*'''Validation:''' This feature is available on all free text type questions ("Short Free Text", "Long Free Text", "Date" or "Numerical"). You can use standard [[Using regular expressions|Regular Expressions]] in this field to validate the responses to the question, and if the responses don't validate against this expression, the user will be prompted to try again before they can progress.
*'''Validation:''' This feature is available on all free text type questions ("Short Free Text", "Long Free Text", "Date" or "Numerical"). You can use standard [[Using regular expressions|Regular Expressions]] in this field to validate the responses to the question, and if the responses don't validate against this expression, the user will be prompted to try again before they can progress.

Revision as of 09:12, 23 May 2013

Message definition (Questions - introduction)
<div class="simplebox">[[File:help.png]] '''Note:''' The question '''code''' must be unique across the same survey, must start with a letter, and can only contain alphanumeric characters. If you ever try to export your data to SPSS or R, you will discover that the "qcode" becomes the value label, so you have to make the code unique. For the time being, LimeSurvey will support legacy code values, but the [[Show logic file|Show logic file]] button will color-code such questions so that you know you should change their names.</div>
*'''Question:''' This is the actual question being asked. There is no real limit to the length of the question here, however if you want to explain how to fill out the question, leave that for the "Help" field. HTML-code can be used, e.g., for including images:
Note: The question Code should be unique, and must start with a letter or underscore, and only contain letters, numbers, and underscores.  If you ever tried to export your data to SPSS or R, you discovered that the qcode becomes the value label, so you have to make code unique.  For the time-being, LimeSurvey will support legacy code values, but the Show Logic File button will color-code such questions so that you know you should change their names.
  • Question: This is the actual question being asked. There is no real limit to the length of the question here, however if you want to explain the question, leave that for the "Help" field. HTML-code can be used, e.g., for including images:
    <img src="http://www.yourdomain.com/yourpics/pic.jpg">
  • Help: This is an optional field. It is useful if a question needs some explanation, or you want to explain how it should be answered. When you put text in this field, a "Question Mark" icon appears on the survey entry screens with the help text right beside.
  • Question type: This determines the type of response the survey allows. View the Question types section for a description of the various options available.
  • Validation: This feature is available on all free text type questions ("Short Free Text", "Long Free Text", "Date" or "Numerical"). You can use standard Regular Expressions in this field to validate the responses to the question, and if the responses don't validate against this expression, the user will be prompted to try again before they can progress.