https://manual.limesurvey.org/api.php?action=feedcontributions&user=Galads&feedformat=atomLimeSurvey Manual - User contributions [en]2024-03-28T12:09:30ZUser contributionsMediaWiki 1.35.10https://manual.limesurvey.org/index.php?title=Question_types&diff=169240Question types2021-09-17T08:54:37Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Selection_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selection_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
The browser detects question type captures the browser the respondent is using and the operating system.<br />
<br />
[[file:Selection_153.png]]<br />
<br />
<br />
When the "use mapping services" is enabled, then there will be a map displayed.<br />
<br />
Note: To use google maps, a valid Google Maps API key must be inserted into the field available in the global settings of your installation.<br />
<br />
[[file:Selection_152.png]]<br />
<br />
<br />
Respondents can use the pin to select a location on the map.<br />
<br />
[[file:Selection_154.png]]<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
The input on demand displays one column at a time and respondents can use the add button to add more answers.<br />
Other options are available. Use the question settings to add more options.<br />
<br />
<br />
[[file:Selection_155.png]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_155.png&diff=169239File:Selection 155.png2021-09-17T08:51:32Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169238Question types2021-09-17T08:51:16Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selection_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
The browser detects question type captures the browser the respondent is using and the operating system.<br />
<br />
[[file:Selection_153.png]]<br />
<br />
<br />
When the "use mapping services" is enabled, then there will be a map displayed.<br />
<br />
Note: To use google maps, a valid Google Maps API key must be inserted into the field available in the global settings of your installation.<br />
<br />
[[file:Selection_152.png]]<br />
<br />
<br />
Respondents can use the pin to select a location on the map.<br />
<br />
[[file:Selection_154.png]]<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
The input on demand displays one column at a time and respondents can use the add button to add more answers.<br />
Other options are available. Use the question settings to add more options.<br />
<br />
<br />
[[file:Selection_155.png]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169237Question types2021-09-17T08:46:09Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selection_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
The browser detects question type captures the browser the respondent is using and the operating system.<br />
<br />
[[file:Selection_153.png]]<br />
<br />
<br />
When the "use mapping services" is enabled, then there will be a map displayed.<br />
<br />
Note: To use google maps, a valid Google Maps API key must be inserted into the field available in the global settings of your installation.<br />
<br />
[[file:Selection_152.png]]<br />
<br />
<br />
Respondents can use the pin to select a location on the map.<br />
<br />
[[file:Selection_154.png]]<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_154.png&diff=169236File:Selection 154.png2021-09-17T08:43:35Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_153.png&diff=169235File:Selection 153.png2021-09-17T08:43:16Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_152.png&diff=169234File:Selection 152.png2021-09-17T08:42:52Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169233Question types2021-09-17T08:41:59Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selection_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
The browser detects question type captures the browser the respondent is using and the operating system.<br />
<br />
[[file:Selection_153.png]]<br />
<br />
<br />
When the "use mapping services" is enabled, then there will be a map displayed.<br />
<br />
Note: To use google maps, a valid Google Maps API key must be inserted into the field available in the global settings of your installation.<br />
<br />
[[file:Selection_152.png]]<br />
<br />
<br />
[[file:Selection_154.png]]<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169232Question types2021-09-17T08:30:02Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selection_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_151.png&diff=169231File:Selection 151.png2021-09-17T08:28:55Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169230Question types2021-09-17T08:28:39Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
<br />
This question type collects single input from a list of bootstrap buttons.<br />
<br />
[[file:Selected_151.png]]<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169229Question types2021-09-17T08:24:38Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_150.png&diff=169228File:Selection 150.png2021-09-17T08:17:39Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169227Question types2021-09-17T08:17:24Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
This question type will allow you to collect single input from a list of images.<br />
<br />
The images can be added using the sub-question HTML Editor.<br />
<br />
[[file:Select_150.png]]<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169226Question types2021-09-17T08:06:37Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
<br />
<br />
<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169225Question types2021-09-17T08:06:17Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
The images must be first imported using the resources link on the survey settings. Then the images can be selected as the image to use for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_148.png&diff=169224File:Selection 148.png2021-09-17T08:02:41Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Selection_147.png&diff=169223File:Selection 147.png2021-09-17T08:02:16Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169222Question types2021-09-17T08:01:56Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
The images need to be imported to the resources then selected as the image for the sub-questions using the HTML editor.<br />
<br />
<br />
[[file:Selection_147.png]]<br />
<br />
[[file:Selection_148.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Image_select.png&diff=169221File:Image select.png2021-09-17T07:55:16Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169220Question types2021-09-17T07:54:44Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
This question type can collect input of multiple selections using an image. Respondent can click and then the image is selected.<br />
<br />
[[file:Image_select.png]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Bootstrap_button.png&diff=169219File:Bootstrap button.png2021-09-17T07:14:22Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169218Question types2021-09-17T07:12:54Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
This question type can collect input of multiple selections using a bootstrap button.<br />
Respondent can click and then it is selected.<br />
<br />
[[file:bootstrap_button.png]]<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169217Question types2021-09-17T07:02:20Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
<br />
<br />
[[file:Advanced_Ranking.png]]<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
<br />
<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Advanced_Ranking.png&diff=169216File:Advanced Ranking.png2021-09-17T06:59:28Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169215Question types2021-09-17T06:51:10Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
This question type allows you to present your survey participants a list of possible answers/options in image form, which they may then rank according to their preferences.<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
<br />
<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169206Question types2021-09-14T12:04:04Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
<br />
<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
<br />
<br />
<br />
===Bootstrap Button (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169205Question types2021-09-14T12:01:34Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
<br />
<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
<br />
<br />
===Browser Detect (new in 5.x)=== <!--T:114--><br />
<br />
<br />
<br />
===Input on Demand (new in 5.x)=== <!--T:114--><br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169204Question types2021-09-14T11:57:43Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
===Bootstrap Buttons (new in 5.x)=== <!--T:87--><br />
<br />
<br />
<br />
<br />
===Image Select Multiple Choice (new in 5.x)=== <!--T:88--><br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169203Question types2021-09-14T11:55:05Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
===Image Select List (Radio) (New in 5.x)===<!--T:102--><br />
<br />
<br />
<br />
===Net Promoter Score (New in 5.x)===<!--T:103--><br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169202Question types2021-09-14T11:52:15Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Question_types&diff=169201Question types2021-09-14T11:50:06Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
<br />
=Introduction= <!--T:2--><br />
<br />
<!--T:3--><br />
This page offers you a visual overview of all available question types. You can also see it as a starting point from where you can get to different wiki sections that explain in detail every question type.<br />
<br />
<!--T:4--><br />
<div class="simplebox">[[File:help.png]] The LimeSurvey download package includes a sample survey which includes all question types. You'll find it in your "/docs/demosurveys/" directory. Import each of them and try every question type!</div><br />
<br />
<!--T:116--><br />
Please note that a LimeSurvey survey consists of question groups which contain one or more question. Therefore, you must '''create a question group first''' before you add questions to your survey. For more details on question groups, read the following [[Question groups - introduction|wiki section]].<br />
<br />
=Question types= <!--T:15--><br />
<br />
<!--T:117--><br />
To change the question type, you must first open the question in ''edit mode'' and click the '''General options''' tab located in the panel on the right side of the page:<br />
<br />
<br />
<!--T:118--><br />
<center>[[File:Question_type_button_location.png]]</center><br />
<br />
<br />
<!--T:119--><br />
Then, select the desired question type from the ''Select question type'' menu. To help ensure that you choose the correct question type, a preview of the question type is displayed in the ''Select question type'' panel. <br />
<br />
<br />
<!--T:120--><br />
<center>[[File:Question type - 2.png]]</center><br />
<br />
<br />
<!--T:121--><br />
{{Note|Check our [[Questions - introduction|introduction on questions]] section for more information}}<br />
<br />
<br />
<!--T:122--><br />
<hr width="50%" style="margin:auto"><br />
<br />
<br />
<!--T:123--><br />
The following question styles can be used within a survey in LimeSurvey:<br />
<br />
<!--T:124--><br />
*[[Question types#Arrays|Arrays]]<br />
*[[Question types#Mask questions|Mask questions]]<br />
*[[Question types#Multiple choice questions|Multiple choice questions]]<br />
*[[Question types#Single choice questions|Single choice questions]]<br />
*[[Question types#Text questions|Text questions]]<br />
<br />
<br />
===Subquestions=== <!--T:6--><br />
<br />
<!--T:9--><br />
Usually a question only has answers. But there are certain question types (like the Array question type) which are basically a subset of questions where each subquestion can be answered by the survey participant (often by using a predefined scale of answer options).<br />
<br />
<!--T:10--><br />
[[File:F_AFL.png]]<br />
<br />
<!--T:11--><br />
A more complex example is the question type 'Array of texts' where the respondent has to enter values for combinations. In that case the value entered by the respondent is the 'answer' and the two scales on the array are two scales of subquestions.<br />
<br />
<!--T:12--><br />
[[File:SC_MFT.png]]<br />
<br />
<br />
==Arrays== <!--T:16--><br />
<br />
<!--T:17--><br />
The ''Array question type'' further extends the ''List question type''. Using this question type, a matrix can be displayed where the left column is represented by a subquestion, while each row is represented by the same set of answer options. The text of the question can be either a specific question or a description.<br />
<br />
<!--T:18--><br />
In terms of output there is no difference in how responses are stored compared to ''List (Radio)'' question type. The given answer is stored in a separate column in the result table for both question types.<br />
<br />
<!--T:19--><br />
The most flexible array types are ''Array'', ''Array (Text)'' and ''Array (Numbers)'. However, LimeSurvey also supports a number of array types which have predefined answer options (e.g., ''Array 5 point choice'').<br />
<br />
<!--T:125--><br />
<div class='simplebox'> [[File:help.png]] To quickly understand the basics of array-type questions, check the following [https://www.youtube.com/watch?v=7134QebOQzY video tutorial].</div> <br />
<br />
=== Array=== <!--T:20--><br />
<br />
<!--T:21--><br />
{{:Question type - Array|transcludesection=short_description}}<br />
<br />
<!--T:126--><br />
'''Example 1:''' [[Media:Question tpye - Array using flexible labels.zip|Question type - Array using flexible labels.zip]]<br />
<br />
<!--T:127--><br />
'''Example 2:''' [[Media:Question type - Array - Semantic Differential Question Type.zip|Question type - Array - Semantic Differential Question Type.zip]]<br />
<br />
<!--T:22--><br />
Find out [[Question type - Array|more about the Array question type...]]<br />
<br />
===Array (5 point choice)=== <!--T:23--><br />
<br />
<!--T:24--><br />
{{:Question type - Array (5 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:25--><br />
Find out [[Question type - Array (5 point choice)|more about the 5 Point Choice Array question type...]]<br />
<br />
===Array (10 point choice)=== <!--T:26--><br />
<br />
<!--T:27--><br />
{{:Question type - Array (10 point choice)|transcludesection=short_description}}<br />
<br />
<!--T:28--><br />
Find out [[Question type - Array (10 point choice)|more about the 10 Point Choice Array question type...]]<br />
<br />
===Array (Yes/No/Uncertain)=== <!--T:29--><br />
<br />
<!--T:30--><br />
{{:Question type - Array (Yes-No-Uncertain)|transcludesection=short_description}}<br />
<br />
<!--T:31--><br />
Find out [[Question type - Array (Yes-No-Uncertain)|more about the Yes/No/Uncertain Array question type...]]<br />
<br />
<br />
===Array (Increase/Same/Decrease)=== <!--T:32--><br />
<br />
<!--T:33--><br />
{{:Question type - Array (Increase-Same-Decrease)|transcludesection=short_description}}<br />
<br />
<!--T:34--><br />
Find out [[Question type - Array (Increase-Same-Decrease)|more about the Increase/Same/Decrease Array question type...]]<br />
<br />
<br />
===Array by column=== <!--T:35--><br />
<br />
<!--T:36--><br />
{{:Question type - Array by column|transcludesection=short_description}}<br />
<br />
<!--T:37--><br />
Find out [[Question type - Array by column|more about the Array by Column question type...]]<br />
<br />
===Array dual scale=== <!--T:38--><br />
<br />
<!--T:39--><br />
{{:Question type - Array dual scale|transcludesection=short_description}}<br />
<br />
<!--T:40--><br />
Find out [[Question type - Array dual scale|more about the Array Dual Scale question type...]]<br />
<br />
<br />
=== Array (Numbers)=== <!--T:41--><br />
<br />
<!--T:42--><br />
{{:Question type - Array (Numbers)|transcludesection=short_description}}<br />
<br />
<!--T:43--><br />
Find out [[Question type - Array (Numbers)|more about the numbers Array question type...]]<br />
<br />
<br />
===Array (Texts)=== <!--T:44--><br />
<br />
<!--T:45--><br />
{{:Question type - Array (Texts)|transcludesection=short_description}}<br />
<br />
<!--T:46--><br />
Find out [[Question type - Array (Texts) |more about the text Array question type...]]<br />
<br />
==Mask questions== <!--T:47--><br />
<br />
<!--T:48--><br />
Due to a lack of a better term, we define all questions where the input of answers is predefined as ''mask questions''.<br />
<br />
<br />
===Date=== <!--T:49--><br />
<br />
<!--T:50--><br />
{{:Question type - Date|transcludesection=short_description}}<br />
<br />
<!--T:51--><br />
Find out [[Question type - Date |more about the Date question type...]]<br />
<br />
<br />
===File upload=== <!--T:52--><br />
<br />
<!--T:53--><br />
{{:Question type - File upload|transcludesection=short_description}}<br />
<br />
<!--T:54--><br />
Find out [[Question type - File upload |more about the File Upload question type...]]<br />
<br />
<br />
===Gender=== <!--T:55--><br />
<br />
<!--T:56--><br />
{{:Question type - Gender|transcludesection=short_description}}<br />
<br />
<!--T:57--><br />
You may also add a "No answer" choice if the question is not mandatory.<br />
<br />
<!--T:58--><br />
Find out [[Question type - Gender |more about the Gender question type...]]<br />
<br />
<br />
===Language switch=== <!--T:59--><br />
<br />
<!--T:60--><br />
{{:Question type - Language switch|transcludesection=short_description}}<br />
<br />
<!--T:61--><br />
Find out [[Question type - Language switch|more about the Language Switch question type...]]<br />
<br />
<br />
===Numerical input=== <!--T:62--><br />
<br />
<!--T:63--><br />
{{:Question type - Numerical input|transcludesection=short_description}}<br />
<br />
<!--T:64--><br />
Find out [[Question type - Numerical input |more about the Numerical Input question type...]]<br />
<br />
<br />
===Multiple numerical input=== <!--T:65--><br />
<br />
<!--T:66--><br />
{{:Question type - Multiple numerical input|transcludesection=short_description}}<br />
<br />
<!--T:67--><br />
Find out [[Question type - Multiple numerical input |more about the Multiple numerical input question type...]]<br />
<br />
<br />
===Ranking=== <!--T:68--><br />
<br />
<!--T:69--><br />
{{:Question type - Ranking|transcludesection=short_description}}<br />
<br />
<!--T:70--><br />
Find out [[Question type - Ranking |more about the Ranking question type...]]<br />
<br />
<br />
===Advanced Ranking (new in 5.x) === <!--T:68--><br />
<br />
===Text display=== <!--T:71--><br />
<br />
<!--T:72--><br />
{{:Question type - Text display|transcludesection=short_description}}<br />
<br />
<!--T:73--><br />
Find out [[Question type - Text display|more about the Text Display question type...]]<br />
<br />
<br />
===Yes/No=== <!--T:74--><br />
<br />
<!--T:75--><br />
{{:Question type - Yes-No|transcludesection=short_description}}<br />
<br />
<!--T:76--><br />
Find out [[Question type - Yes-No |more about the Yes/No question type...]]<br />
<br />
<br />
===Equation=== <!--T:77--><br />
<br />
<!--T:78--><br />
{{:Question type - Equation|transcludesection=short_description}}<br />
<br />
<!--T:79--><br />
Find out [[Question type - Equation|more about the Equation question type...]]<br />
<br />
==Multiple choice questions== <!--T:80--><br />
<br />
<!--T:81--><br />
Sometimes you want the participant to mark more than one answer option in the same question; this is achieved using checkboxes.<br />
<br />
<br />
===Multiple choice=== <!--T:82--><br />
<br />
<!--T:83--><br />
{{:Question type - Multiple choice|transcludesection=short_description}}<br />
<br />
<!--T:84--><br />
Find out [[Question type - Multiple choice|more about the Multiple Choice Question type...]]<br />
<br />
<br />
===Multiple choice with comments=== <!--T:85--><br />
<br />
<!--T:86--><br />
{{:Question type - Multiple choice with comments|transcludesection=short_description}}<br />
<br />
<!--T:87--><br />
Find out [[Question type - Multiple choice with comments|more about the Multiple Choice With Comments question type...]]<br />
<br />
==Single choice questions== <!--T:88--><br />
<br />
<!--T:89--><br />
Single choice questions are those where the participant can only pick a single predefined answer option.<br />
<br />
<br />
===5 point choice=== <!--T:90--><br />
<br />
<!--T:91--><br />
{{:Question type - 5 point choice|transcludesection=short_description}}<br />
<br />
<!--T:92--><br />
Find out [[Question type - 5 point choice|more about the 5 Point Choice question type...]]<br />
<br />
<br />
===List (Dropdown)=== <!--T:93--><br />
<br />
<!--T:94--><br />
{{:Question type - List (Dropdown)|transcludesection=short_description}}<br />
<br />
<!--T:95--><br />
Find out [[Question type - List (Dropdown)|more about the List Dropdown question type...]]<br />
<br />
<br />
===List (Radio)=== <!--T:96--><br />
<br />
<!--T:97--><br />
{{:Question type - List (Radio)|transcludesection=short_description}}<br />
<br />
<!--T:98--><br />
Find out [[Question type - List (Radio)|more about the List Radio question type...]]<br />
<br />
<br />
===List with comment=== <!--T:99--><br />
<br />
<!--T:100--><br />
{{:Question type - List with comment|transcludesection=short_description}}<br />
<br />
<!--T:101--><br />
Find out [[Question type - List with comment |more about the List with comment question type...]]<br />
<br />
<br />
==Text questions== <!--T:102--><br />
<br />
<!--T:103--><br />
LimeSurvey provides a number of possible variations of the standard text field. All of these can be defined further using the attributes of the question which permit to restrict the number of characters as well as the size of the field.<br />
<br />
<!--T:104--><br />
Furthermore text input can be validated by [[Using regular expressions|using regular expressions]].<br />
<br />
<br />
===Short free text=== <!--T:105--><br />
<br />
<!--T:106--><br />
{{:Question type - Short free text|transcludesection=short_description}}<br />
<br />
<!--T:107--><br />
Find out [[Question type - Short free text|more about the Short Free Text question type...]]<br />
<br />
===Long free text=== <!--T:108--><br />
<br />
<!--T:109--><br />
{{:Question type - Long free text|transcludesection=short_description}}<br />
<br />
<!--T:110--><br />
Find out [[Question type - Long free text|more about the Long Free Text question type...]]<br />
<br />
<br />
===Huge free text=== <!--T:111--><br />
<br />
<!--T:112--><br />
{{:Question type - Huge free text|transcludesection=short_description}}<br />
<br />
<!--T:113--><br />
Find out [[Question type - Huge free text|more about the Huge Free Text question type...]]<br />
<br />
<br />
===Multiple short text=== <!--T:114--><br />
<br />
<!--T:115--><br />
{{:Question type - Multiple short text|transcludesection=short_description}}<br />
Find out [[Question type - Multiple short text|more about the Multiple Short Text question type...]]<br />
<br />
=Styling questions= <!--T:13--><br />
<br />
<!--T:14--><br />
It is possible to edit the question layout/design by using CSS. You can find more information at [[The template editor#Styling_questions_with_CSS|styling questions with CSS]]<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Menu_items.png&diff=160519File:Menu items.png2021-01-25T12:06:25Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Helper.png&diff=160518File:Helper.png2021-01-25T12:05:19Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Version.png&diff=160517File:Version.png2021-01-25T12:04:27Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Config_xml.png&diff=160516File:Config xml.png2021-01-25T11:39:20Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Path_possiblity.png&diff=160515File:Path possiblity.png2021-01-25T11:35:40Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Make_your_plugin_compatible_with_LS4&diff=160514Make your plugin compatible with LS42021-01-25T11:32:26Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<br />
=Technical changes= <!--T:1--><br />
<br />
==The new XML config file ==<!--T:2--><br />
<br />
<br />
<!--T:3--><br />
Since LimeSurvey 4.0, plugins need a XML config file to be run in the application. <br />
<br />
The reason for this is the possibility to store meta-data information such as plugin Author, support email or updaters information. <br />
<br />
This XML file is mandatory in LimeSurvey 4. It should be located in the root directory of the plugin. For more information check the plugin development wiki at https://manual.limesurvey.org/Plugins_-_advanced#Available_plugins<br />
<br />
<!--T:4--><br />
'''Example:'''<br />
<br />
<!--T:5--><br />
<center>[[File:config_xml.png]]</center><br />
<br />
<br />
==The new plugin directory==<!--T:6--><br />
<br />
<!--T:7--><br />
The plugin directory is changed in LimeSurvey 4. For security reasons, the plugin directory is now located in the upload directory (/upload/plugins) due to the new plugin manager (Plugin uploader). <br />
For manual uploads, we recommend to upload your files to the new directory to avoid software malfunctioning. <br />
<br />
Make sure to change or add the new directory if it is hard-coded in your plugin. <br />
<br />
<!--T:8--><br />
'''Example:'''<br />
<br />
<br />
<!--T:9--><br />
<center>[[File:path_possiblity.png]]</center><br />
<br />
<br />
==The new plugin events==<!--T:10--><br />
<br />
<br />
<br />
<!--T:11--><br />
Some plugin events from LS3 were deprecated. Use the new plugin events introduced in LS4 to replace the old plugin events. <br />
For more information check our development manual on plugin events at https://manual.limesurvey.org/Plugin_events<br />
<br />
<br />
==Deprecated functions and methods==<!--T:12--><br />
<br />
<br />
<!--T:13--><br />
Since the code base or structure of LimeSurvey 4 changed, there are a lot of methods or functions that are not used anymore. <br />
To fix this problem, you need to enable the debug mode on the config.php file first and then go to the plugin page. Any method that does not exit anymore will be shown on the error page. <br />
<br />
Some of the methods are renamed in LS4 or are not used anymore. To be sure that your plugin works for both LS3 & LS4, check the version of LS before calling the method you need. <br />
<br />
<br />
<!--T:14--><br />
'''Example:'''<br />
<br />
<br />
<!--T:15--><br />
<center>[[File:version.png]]</center><br />
<br />
<br />
=Best Practice=<!--T:16--><br />
<br />
<br />
<br />
==Avoid SVG files==<!--T:17--><br />
<br />
<br />
<br />
<!--T:18--><br />
For security (XSS) reasons, the upload of SVG Files is not possible. The Plugin uploader will ignore SVG files. Replace them by PNG or JPEG files. <br />
The upload of SVG files is possible only if you have access to the installation directory via ftp or other server tools (Upload any files at your own risks).<br />
<br />
<br />
==Avoid global constants==<!--T:19--><br />
<br />
<br />
<br />
<!--T:20--><br />
Avoid the use of global constants that can collapse with variables of the core application or other plugins like „ROOT_PATH“. Don‘t use global constant in general for plugin development. <br />
<br />
==Use Namespaces== <!--T:21--><br />
Use namespace for better organization by grouping classes that work together to perform a task in your plugin. In that way you avoid using classes that are being used already in the core application.<br />
<br />
<br />
<!--T:22--><br />
'''Example:'''<br />
<br />
<br />
<br />
<!--T:23--><br />
<center>[[File:helper.png]]</center><br />
<br />
<br />
<!--T:24--><br />
<center>[[File:menu_items.png]]</center><br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Make_your_plugin_compatible_with_LS4&diff=160513Make your plugin compatible with LS42021-01-25T11:29:23Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<br />
=Technical changes= <!--T:1--><br />
<br />
==The new XML config file ==<!--T:2--><br />
<br />
<br />
<!--T:3--><br />
Since LimeSurvey 4.0, plugins need a XML config file to be run in the application. <br />
<br />
The reason for this is the possibility to store meta-data information such as plugin Author, support email or updaters information. <br />
<br />
This XML file is mandatory in LimeSurvey 4. It should be located in the root directory of the plugin. For more information check the plugin development wiki at https://manual.limesurvey.org/Plugins_-_advanced#Available_plugins<br />
<br />
<!--T:4--><br />
'''Example:'''<br />
<br />
<!--T:5--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin directory==<!--T:6--><br />
<br />
<!--T:7--><br />
The plugin directory is changed in LimeSurvey 4. For security reasons, the plugin directory is now located in the upload directory (/upload/plugins) due to the new plugin manager (Plugin uploader). <br />
For manual uploads, we recommend to upload your files to the new directory to avoid software malfunctioning. <br />
<br />
Make sure to change or add the new directory if it is hard-coded in your plugin. <br />
<br />
<!--T:8--><br />
'''Example:'''<br />
<br />
<br />
<!--T:9--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin events==<!--T:10--><br />
<br />
<br />
<br />
<!--T:11--><br />
Some plugin events from LS3 were deprecated. Use the new plugin events introduced in LS4 to replace the old plugin events. <br />
For more information check our development manual on plugin events at https://manual.limesurvey.org/Plugin_events<br />
<br />
<br />
==Deprecated functions and methods==<!--T:12--><br />
<br />
<br />
<!--T:13--><br />
Since the code base or structure of LimeSurvey 4 changed, there are a lot of methods or functions that are not used anymore. <br />
To fix this problem, you need to enable the debug mode on the config.php file first and then go to the plugin page. Any method that does not exit anymore will be shown on the error page. <br />
<br />
Some of the methods are renamed in LS4 or are not used anymore. To be sure that your plugin works for both LS3 & LS4, check the version of LS before calling the method you need. <br />
<br />
<br />
<!--T:14--><br />
'''Example:'''<br />
<br />
<br />
<!--T:15--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
=Best Practice=<!--T:16--><br />
<br />
<br />
<br />
==Avoid SVG files==<!--T:17--><br />
<br />
<br />
<br />
<!--T:18--><br />
For security (XSS) reasons, the upload of SVG Files is not possible. The Plugin uploader will ignore SVG files. Replace them by PNG or JPEG files. <br />
The upload of SVG files is possible only if you have access to the installation directory via ftp or other server tools (Upload any files at your own risks).<br />
<br />
<br />
==Avoid global constants==<!--T:19--><br />
<br />
<br />
<br />
<!--T:20--><br />
Avoid the use of global constants that can collapse with variables of the core application or other plugins like „ROOT_PATH“. Don‘t use global constant in general for plugin development. <br />
<br />
==Use Namespaces== <!--T:21--><br />
Use namespace for better organization by grouping classes that work together to perform a task in your plugin. In that way you avoid using classes that are being used already in the core application.<br />
<br />
<br />
<!--T:22--><br />
'''Example:'''<br />
<br />
<br />
<br />
<!--T:23--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
<!--T:24--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Make_your_plugin_compatible_with_LS4&diff=160512Make your plugin compatible with LS42021-01-25T11:28:38Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<br />
=Technical changes= <!--T:1--><br />
<br />
==The new XML config file ==<!--T:2--><br />
<br />
<br />
<!--T:3--><br />
Since LimeSurvey 4.0, plugins need a XML config file to be run in the application. <br />
<br />
The reason for this is the possibility to store meta-data information such as plugin Author, support email or updaters information. <br />
<br />
This XML file is mandatory in LimeSurvey 4. It should be located in the root directory of the plugin. For more information check the plugin development wiki at https://manual.limesurvey.org/Plugins_-_advanced#Available_plugins<br />
<br />
<!--T:4--><br />
'''Example:'''<br />
<br />
<!--T:5--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin directory==<!--T:6--><br />
<br />
<!--T:7--><br />
The plugin directory is changed in LimeSurvey 4. For security reasons, the plugin directory is now located in the upload directory (/upload/plugins) due to the new plugin manager (Plugin uploader). <br />
For manual uploads, we recommend to upload your files to the new directory to avoid software malfunctioning. <br />
<br />
Make sure to change or add the new directory if it is hard-coded in your plugin. <br />
<br />
<!--T:8--><br />
Example:<br />
<br />
<br />
<!--T:9--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin events==<!--T:10--><br />
<br />
<br />
<br />
<!--T:11--><br />
Some plugin events from LS3 were deprecated. Use the new plugin events introduced in LS4 to replace the old plugin events. <br />
For more information check our development manual on plugin events at https://manual.limesurvey.org/Plugin_events<br />
<br />
<br />
==Deprecated functions and methods==<!--T:12--><br />
<br />
<br />
<!--T:13--><br />
Since the code base or structure of LimeSurvey 4 changed, there are a lot of methods or functions that are not used anymore. <br />
To fix this problem, you need to enable the debug mode on the config.php file first and then go to the plugin page. Any method that does not exit anymore will be shown on the error page. <br />
<br />
Some of the methods are renamed in LS4 or are not used anymore. To be sure that your plugin works for both LS3 & LS4, check the version of LS before calling the method you need. <br />
<br />
<br />
<!--T:14--><br />
Example: <br />
<br />
<br />
<!--T:15--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
=Best Practice=<!--T:16--><br />
<br />
<br />
<br />
==Avoid SVG files==<!--T:17--><br />
<br />
<br />
<br />
<!--T:18--><br />
For security (XSS) reasons, the upload of SVG Files is not possible. The Plugin uploader will ignore SVG files. Replace them by PNG or JPEG files. <br />
The upload of SVG files is possible only if you have access to the installation directory via ftp or other server tools (Upload any files at your own risks).<br />
<br />
<br />
==Avoid global constants==<!--T:19--><br />
<br />
<br />
<br />
<!--T:20--><br />
Avoid the use of global constants that can collapse with variables of the core application or other plugins like „ROOT_PATH“. Don‘t use global constant in general for plugin development. <br />
<br />
==Use Namespaces== <!--T:21--><br />
Use namespace for better organization by grouping classes that work together to perform a task in your plugin. In that way you avoid using classes that are being used already in the core application.<br />
<br />
<br />
<!--T:22--><br />
Example:<br />
<br />
<br />
<br />
<!--T:23--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
<!--T:24--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Make_your_plugin_compatible_with_LS4&diff=160511Make your plugin compatible with LS42021-01-25T11:26:12Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<br />
=Technical changes= <!--T:1--><br />
<br />
==The new XML config file ==<!--T:2--><br />
<br />
<br />
<!--T:3--><br />
Since LimeSurvey 4.0, plugins need a XML config file to be run in the application. <br />
<br />
The reason for this is the possibility to store meta-data information such as plugin Author, support email or updaters information. <br />
<br />
This XML file is mandatory in LimeSurvey 4. It should be located in the root directory of the plugin. For more information check the plugin development wiki at https://manual.limesurvey.org/Plugins_-_advanced#Available_plugins<br />
<br />
<!--T:4--><br />
Example:<br />
<br />
<!--T:5--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin directory==<!--T:6--><br />
<br />
<!--T:7--><br />
The plugin directory is changed in LimeSurvey 4. For security reasons, the plugin directory is now located in the upload directory (/upload/plugins) due to the new plugin manager (Plugin uploader). <br />
For manual uploads, we recommend to upload your files to the new directory to avoid software malfunctioning. <br />
<br />
Make sure to change or add the new directory if it is hard-coded in your plugin. <br />
<br />
<!--T:8--><br />
Example:<br />
<br />
<br />
<!--T:9--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
==The new plugin events==<!--T:10--><br />
<br />
<br />
<br />
<!--T:11--><br />
Some plugin events from LS3 were deprecated. Use the new plugin events introduced in LS4 to replace the old plugin events. <br />
For more information check our development manual on plugin events at https://manual.limesurvey.org/Plugin_events<br />
<br />
<br />
==Deprecated functions and methods==<!--T:12--><br />
<br />
<br />
<!--T:13--><br />
Since the code base or structure of LimeSurvey 4 changed, there are a lot of methods or functions that are not used anymore. <br />
To fix this problem, you need to enable the debug mode on the config.php file first and then go to the plugin page. Any method that does not exit anymore will be shown on the error page. <br />
<br />
Some of the methods are renamed in LS4 or are not used anymore. To be sure that your plugin works for both LS3 & LS4, check the version of LS before calling the method you need. <br />
<br />
<br />
<!--T:14--><br />
Example: <br />
<br />
<br />
<!--T:15--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
=Best Practice=<!--T:16--><br />
<br />
<br />
<br />
==Avoid SVG files==<!--T:17--><br />
<br />
<br />
<br />
<!--T:18--><br />
For security (XSS) reasons, the upload of SVG Files is not possible. The Plugin uploader will ignore SVG files. Replace them by PNG or JPEG files. <br />
The upload of SVG files is possible only if you have access to the installation directory via ftp or other server tools (Upload any files at your own risks).<br />
<br />
<br />
==Avoid global constants==<!--T:19--><br />
<br />
<br />
<br />
<!--T:20--><br />
Avoid the use of global constants that can collapse with variables of the core application or other plugins like „ROOT_PATH“. Don‘t use global constant in general for plugin development. <br />
<br />
==Use Namespaces== <!--T:21--><br />
Use namespace for better organization by grouping classes that work together to perform a task in your plugin. In that way you avoid using classes that are being used already in the core application.<br />
<br />
<br />
<!--T:22--><br />
Example:<br />
<br />
<br />
<br />
<!--T:23--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
<br />
<!--T:24--><br />
<center>[[File:createnewsurvey.png]]</center><br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Make_your_plugin_compatible_with_LS4&diff=160510Make your plugin compatible with LS42021-01-25T10:53:50Z<p>Galads: </p>
<hr />
<div>Technical changes<br />
The new XML config file <br />
<br />
Since LimeSurvey 4.0, plugins need a XML config file to be run in the application. <br />
<br />
The reason for this is the possibility to store meta-data information such as plugin Author, support email or updaters information. <br />
<br />
This XML file is mandatory in LimeSurvey 4. It should be located in the root directory of the plugin. For more information check the plugin development wiki at https://manual.limesurvey.org/Plugins_-_advanced#Available_plugins<br />
<br />
Example:<br />
<br />
<br />
<br />
The new plugin directory<br />
<br />
The plugin directory is changed in LimeSurvey 4. For security reasons, the plugin directory is now located in the upload directory (/upload/plugins) due to the new plugin manager (Plugin uploader). <br />
For manual uploads, we recommend to upload your files to the new directory to avoid software malfunctioning. <br />
<br />
Make sure to change or add the new directory if it is hard-coded in your plugin. <br />
<br />
Example:<br />
<br />
<br />
<br />
<br />
The new plugin events<br />
<br />
Some plugin events from LS3 were deprecated. Use the new plugin events introduced in LS4 to replace the old plugin events. <br />
For more information check our development manual on plugin events at https://manual.limesurvey.org/Plugin_events<br />
<br />
Deprecated functions and methods<br />
Since the code base or structure of LimeSurvey 4 changed, there are a lot of methods or functions that are not used anymore. <br />
To fix this problem, you need to enable the debug mode on the config.php file first and then go to the plugin page. Any method that does not exit anymore will be shown on the error page. <br />
<br />
Some of the methods are renamed in LS4 or are not used anymore. To be sure that your plugin works for both LS3 & LS4, check the version of LS before calling the method you need. <br />
<br />
Example: <br />
<br />
<br />
<br />
Best Practice<br />
<br />
Avoid SVG files<br />
<br />
For security (XSS) reasons, the upload of SVG Files is not possible. The Plugin uploader will ignore SVG files. Replace them by PNG or JPEG files. <br />
The upload of SVG files is possible only if you have access to the installation directory via ftp or other server tools (Upload any files at your own risks).<br />
<br />
Avoid global constants<br />
<br />
Avoid the use of global constants that can collapse with variables of the core application or other plugins like „ROOT_PATH“. Don‘t use global constant in general for plugin development. <br />
Use Namespaces<br />
<br />
Use namespace for better organization by grouping classes that work together to perform a task in your plugin. In that way you avoid using classes that are being used already in the core application.<br />
<br />
<br />
<br />
Example:</div>Galadshttps://manual.limesurvey.org/index.php?title=Translating_LimeSurvey&diff=151887Translating LimeSurvey2020-07-01T13:43:55Z<p>Galads: </p>
<hr />
<div><languages /> <translate><br />
<!--T:1--><br />
__TOC__<br />
<br />
=Translating LimeSurvey= <!--T:2--><br />
<br />
<!--T:3--><br />
Wouldn't it be great to have LimeSurvey completely translated to your native language? The LimeSurvey team is always on the lookout for new translations and for people who help update the existing ones. Please read these instructions and don't hesitate to send an email to [mailto:translations@limesurvey.org translations@limesurvey.org] if you are in doubt or have any other questions.<br />
<br />
=How to translate - step-by-step instructions= <!--T:4--><br />
<br />
==Updating an existing translation== <!--T:5--><br />
#Sign up on [https://www.limesurvey.org the LimeSurvey website] and then log in to [https://www.limesurvey.org/login your account].<br />
#Go to [https://translate.limesurvey.org https://translate.limesurvey.org] and log in there with the same username and password.<br />
#Pick the LimeSurvey version you want to translate and simply get started. After your translation is approved, it will automatically be included in the weekly stable release and your username will be credited in the change log.<br />
#If you are interested in becoming a prime translator for your language with the ability to approve newly translated strings, please contact us at [mailto:translations@limesurvey.org translations@limsurvey.org]. Such a position requires a maximum of about an hour of work per week - it's important to us that you are reliable in doing this.<br />
<br />
===Other part to be translated=== <!--T:12--><br />
<br />
<!--T:13--><br />
LimeSurvey use external library, and this library have their own translation system. Current library used are<br />
<br />
==Customize an existing translation== <!--T:6--><br />
<br />
<!--T:7--><br />
Sometimes you might want to modify an existing translation so it accommodates your particular survey situation better. In that case, do the following:<br />
#Go to [https://translate.limesurvey.org https://translate.limesurvey.org], pick the LimeSurvey version you want to translate and the particular language you want to modify.<br />
#On the bottom of the translation page you will find an option to export all strings as *.po file. Click on the export and save it as *.po file to your local hard-disk:<br />[[File:export_po_file.png]]<br />
#Download and install [http://www.poedit.net/download.php Poedit].<br />
#Start Poedit and edit the downloaded *.po file - modify the particular translations.<br />
#When you save the *.po file, a *.mo file is automatically created. The latter will be read by LimeSurvey.<br />
#The last step is to place the particular *.mo file in the right language folder in /locale by replacing the existing one.<br />
{{Note|For example, the location for French would be <LimeSurvey_root_directory>/locale/fr/LC_MESSAGES/fr.po.}}<br />
<br />
<!--T:8--><br />
<div class="simplebox"> Note: If you are using [https://www.limesurvey.org/editions-and-prices/limesurvey-pro/editions-and-prices-professional LimeSurvey Pro](only for Cooperate and Enterprise users), the team will be happy to place the file for you. Just create a [mailto:support@limesurvey.org support ticket] and attach the *.po file (<u>'''not''' the .*mo</u>).</div><br />
<br />
==Creating a new translation== <!--T:9--><br />
#First of all, get access to the development version of LimeSurvey. For detailed instructions, access the [[Accessing the source code|source code]].<br />
#Download and install [https://www.poedit.net/download.php Poedit] .<br />
#Now you have to find out the language-code for your language - you can search for your language-code in the [https://r12a.github.io/app-subtags/ IANA Language Subtag Registry].<br />
#Go into the /locale directory (located in the LimeSurvey root directory) and create a directory named after your language code.<br />
#Download your language template by going to on the following link [https://translate.limesurvey.org/projects/]. Select the project, then any language (e.g. go for the English entry), and scroll to the bottom. There you have the possibility to export the language file as <your_language_code>.po file.<br />
#Copy the <your_language_code>.po file to the newly created folder located in the /locale directory.<br />
#Open the file with Poedit and translate everything you need to translate.<br />
#To make LimeSurvey know about your language, you must add it in application/helpers/surveytranslator_helper.php (located in the LimeSurvey root directory). Open that file with a text editor and add your language in the same way the other languages are defined in that file.<br />
#Save - in order to allow LimeSurvey to see the newly added language, save the modified *.po file. This will automatically generate the *.mo file in the same folder, which will be read by LimeSurvey. <br />
#Send the new *.po file and the updated surveytranslator_helper.php file to [mailto:translations@limesurvey.org translations@limesurvey.org]. <br />
<br />
<!--T:11--><br />
{{Note|If your language use a lot of special character : please check what font must be used for pdf generation (check with dejavusans for example). Then we can add this font file in [[Optional_settings#Statistics_and_response_browsing|alternatepdffontfile]] default configuration.}}<br />
<br />
<!--T:10--><br />
{{Note|If you want your name to be linked from/shown on the team page, please write so in the email!}}<br />
<br />
=== Sample code for add a new language === <!--T:15--><br />
<br />
<!--T:16--><br />
<syntaxhighlight lang="php"><br />
$supportedLanguages['code']['description'] = gT('Language');<br />
$supportedLanguages['code']['nativedescription'] = 'Language in native';<br />
$supportedLanguages['code']['rtl'] = (true|false); // RTL <br />
$supportedLanguages['code']['dateformat'] = integer; // See getDateFormatData function<br />
$supportedLanguages['code']['radixpoint'] = (0|1); // 0 : ., 1 : , for radix point<br />
$supportedLanguages['code']['cldr'] = 'code';<br />
$supportedLanguages['code']['momentjs'] = 'code'; // Used by moment.js<br />
</syntaxhighlight><br />
<br />
<br />
=== Other part to be translated === <!--T:17--><br />
<br />
<!--T:18--><br />
* LimeSurvey use [https://momentjs.com/ moment.js]. When you send the message to [mailto:translations@limesurvey.org translations@limesurvey.org] check what language code must be used.<br />
<br />
<!--T:14--><br />
* '''[https://momentjs.com/ moment.js]''' : method to contribute to moment.js translation are explained at [https://momentjs.com/docs/#/i18n moment.js documentation].<br />
<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Themes&diff=145278Themes2019-11-28T14:09:42Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<!--T:1--><br />
__TOC__<br />
<br />
<!--T:2--><br />
<div class="simplebox">[[File:help.png]] '''LimeSurvey 3''' introduces a complete new template engine system, based on [https://twig.symfony.com/ Twig 1.29] and [https://getbootstrap.com/ Bootstrap], and allowing template inheritance and template options. The frontend HTML page can be 100% customize to suit your needs.</div><br />
<br />
<br />
<!--T:3--><br />
{{Box|Install Limesurvey 3.0+ to get access to the survey '''theme options''' feature. This option are '''not''' available in the older LimeSurvey versions!}}<br />
<br />
{{Alert|text='''The following section is still under construction. If you wish to get a short introduction on the new theme system from LimeSurvey 3.x, please continue reading the following [[New_Template_System_in_LS3.x|wiki section]]. If you are still using LimeSurvey 2.x, please continue reading the following [[Theme editor|wiki section]] (we always recommend our users to upgrade their installations!).'''}}<br />
<br />
=Introduction= <!--T:4--><br />
<br />
<!--T:5--><br />
The '''theme options''' is available on LimeSurvey 3.x, and offers a set of various tools that allows the survey administrators to quickly and easily change the themes-related settings of their surveys.<br />
<br />
=Options to Change a Theme= <!--T:6--><br />
There are two ways to use a theme in LimeSurvey 3.x, either through the global setting or through the theme option panel inside a survey.<br />
<br />
Changing the Theme from the '''global setting''' makes the chosen theme the default theme for all surveys you create.<br />
If the theme is changed for a particular survey using the '''Theme option panel''' inside the theme, only the theme for that particular survey is changed.<br />
<br />
==Global setting default Theme== <!--T:7--><br />
<br />
<center>[[File:default theme setting.png]]</center><br />
<br />
==Theme options panel==<!--T:8--><br />
This option changes the theme for a particular survey.<br />
To access the new '''theme options''' feature, go to the [[Survey settings|survey settings]]:<br />
<br />
<!--T:9--><br />
<center>[[File:Survey menu - theme options.png]]</center><br />
<br />
=Available list of Themes=<!--T:10--><br />
The list of themes available can be access from the Administration Dashboard. Configuration > Advanced > Themes <br><br />
<center>[[File:list of themes.png|800px]]</center><br />
<br />
<br />
The list is divided into 5 columns:<br />
*'''Preview of the theme:''' This shows how the theme will look like when used.<br />
*'''Theme title:''' Specifies the name of the theme.<br />
*'''Description of the themes:''' Users can always get more information about the theme using the URL on the description.<br />
*'''Type of theme:''' Core themes are themes provided with LimeSurvey and cannot be changed while User themes are extended themes added in upload directory by users.<br />
*'''Extends:''' if the theme extends other themes, the name of the extended theme will be displayed here.<br />
*'''Last Column with some action buttons:''' The last Column contains five buttons as shown on the image.<br />
The buttons are ways in which a theme can be edited and each button will be explained in details below,<br />
<br />
**'''Theme editor:''' it will redirect you to the theme editor<br />
**'''Theme options:''' it will lead you the global configuration of theme options<br />
**'''Uninstall:''' it will delete the configuration entries of a theme in the database<br />
**'''Install:''' it will load the manifest of a theme to add it to database and make it available for selection at the survey level<br />
**'''Reset:''' This will completely reset the theme.<br />
<br />
<br />
==Theme Editor==<br />
The LimeSurvey '''core themes''' (default themes) cannot be modified. The "extend" button give users the opportunity for a core theme to be modified(extended).<br />
<br />
<div class="simplebox">[[File:help.png]] This documentation assumes you already know how to use the Template Editor in the previous version of LS. </div><br />
<br />
The fruity theme is used for this demonstration on how to extend/modify a theme using the theme editor.<br />
<br />
When the theme editor button is clicked, the page below is displayed. The theme can be previewed using the "Previous" and "Next" buttons. The screen size can be adjusted to see how responsive the theme is on all devices.<br />
A new template can be imported or the current template can be exported as a zip file.<br />
<br />
<br />
<br />
<br />
<center>[[File:Theme editor button clicked.png|800px]]</center><br />
<br><br />
The "Extend" button will ask for a new name to save a copy of the theme you want to modify. <br />
In our case, the fruity theme will be named "extends_fruity".<br><br />
<br />
<br />
<center>[[File:extended theme edit.png|800px]]</center><br />
<br />
==Theme inheritance Overview==<br />
When a theme is extended, a copy of the original theme can easily be modified.<br />
In our case, we have a copy of the fruity theme saved as "extends_fruity" which will be available for use in the list of themes available.<br />
<div class="simplebox">[[File:help.png]] Modifying the theme is for advance users with basic knowledge of HTML, CSS and Twig.</div><br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Themes&diff=145273Themes2019-11-27T15:49:39Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<!--T:1--><br />
__TOC__<br />
<br />
<!--T:2--><br />
<div class="simplebox">[[File:help.png]] '''LimeSurvey 3''' introduces a complete new template engine system, based on [https://twig.symfony.com/ Twig 1.29] and [https://getbootstrap.com/ Bootstrap], and allowing template inheritance and template options. The frontend HTML page can be 100% customize to suit your needs.</div><br />
<br />
<br />
<!--T:3--><br />
{{Box|Install Limesurvey 3.0+ to get access to the survey '''theme options''' feature. This option are '''not''' available in the older LimeSurvey versions!}}<br />
<br />
{{Alert|text='''The following section is still under construction. If you wish to get a short introduction on the new theme system from LimeSurvey 3.x, please continue reading the following [[New_Template_System_in_LS3.x|wiki section]]. If you are still using LimeSurvey 2.x, please continue reading the following [[Theme editor|wiki section]] (we always recommend our users to upgrade their installations!).'''}}<br />
<br />
=Introduction= <!--T:4--><br />
<br />
<!--T:5--><br />
The '''theme options''' is available on LimeSurvey 3.x, and offers a set of various tools that allows the survey administrators to quickly and easily change the themes-related settings of their surveys.<br />
<br />
=Options to Change a Theme= <!--T:6--><br />
There are two ways to use a theme in LimeSurvey 3.x, either through the global setting or through the theme option panel inside a survey.<br />
<br />
Changing the Theme from the '''global setting''' makes the chosen theme the default theme for all surveys you create.<br />
If the theme is changed for a particular survey using the '''Theme option panel''' inside the theme, only the theme for that particular survey is changed.<br />
<br />
==Global setting default Theme== <!--T:7--><br />
<br />
<center>[[File:default theme setting.png]]</center><br />
<br />
==Theme options panel==<!--T:8--><br />
This option changes the theme for a particular survey.<br />
To access the new '''theme options''' feature, go to the [[Survey settings|survey settings]]:<br />
<br />
<!--T:9--><br />
<center>[[File:Survey menu - theme options.png]]</center><br />
<br />
=Available list of Themes=<!--T:10--><br />
The list of themes available can be access from the Administration Dashboard. Configuration > Advanced > Themes <br><br />
<center>[[File:list of themes.png|800px]]</center><br />
<br />
<br />
The list is divided into 5 columns:<br />
*'''Preview of the theme:''' This shows how the theme will look like when used.<br />
*'''Theme title:''' Specifies the name of the theme.<br />
*'''Description of the themes:''' Users can always get more information about the theme using the URL on the description.<br />
*'''Type of theme:''' Core themes are themes provided with LimeSurvey and cannot be changed while User themes are extended themes added in upload directory by users.<br />
*'''Extends:''' if the theme extends other themes, the name of the extended theme will be displayed here.<br />
*'''Last Column with some action buttons:''' The last Column contains five buttons as shown on the image.<br />
The buttons are ways in which a theme can be edited and each button will be explained in details below,<br />
<br />
**'''Theme editor:''' it will redirect you to the theme editor<br />
**'''Theme options:''' it will lead you the global configuration of theme options<br />
**'''Uninstall:''' it will delete the configuration entries of a theme in the database<br />
**'''Install:''' it will load the manifest of a theme to add it to database and make it available for selection at the survey level<br />
**'''Reset:''' This will completely reset the theme.<br />
<br />
<br />
==Theme Editor==<br />
The LimeSurvey '''core themes''' (default themes) cannot be modified. The "extend" button give users the opportunity for a core theme to be modified(extended).<br />
<br />
<div class="simplebox">[[File:help.png]] This documentation assumes you already know how to use the Template Editor in the previous version of LS. </div><br />
<br />
The fruity theme is used for this demonstration on how to extend/modify a theme using the theme editor.<br />
<br />
When the theme editor button is clicked, the page below is displayed. The theme can be previewed using the "Previous" and "Next" buttons. The screen size can be adjusted to see how responsive the theme is on all devices.<br />
A new template can be imported or the current template can be exported as a zip file.<br />
<br />
<br />
<br />
<br />
<center>[[File:Theme editor button clicked.png|800px]]</center><br />
<br><br />
The Extend button will ask for a new name to save a copy of the theme you want to modify. <br />
In our case, the fruity theme will be named extends_fruity.<br><br />
<br />
<center>[[File:extended theme edit.png|800px]]</center><br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=Themes&diff=145272Themes2019-11-27T15:17:14Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<!--T:1--><br />
__TOC__<br />
<br />
<!--T:2--><br />
<div class="simplebox">[[File:help.png]] '''LimeSurvey 3''' introduces a complete new template engine system, based on [https://twig.symfony.com/ Twig 1.29] and [https://getbootstrap.com/ Bootstrap], and allowing template inheritance and template options. The frontend HTML page can be 100% customize to suit your needs.</div><br />
<br />
<br />
<!--T:3--><br />
{{Box|Install Limesurvey 3.0+ to get access to the survey '''theme options''' feature. This option are '''not''' available in the older LimeSurvey versions!}}<br />
<br />
{{Alert|text='''The following section is still under construction. If you wish to get a short introduction on the new theme system from LimeSurvey 3.x, please continue reading the following [[New_Template_System_in_LS3.x|wiki section]]. If you are still using LimeSurvey 2.x, please continue reading the following [[Theme editor|wiki section]] (we always recommend our users to upgrade their installations!).'''}}<br />
<br />
=Introduction= <!--T:4--><br />
<br />
<!--T:5--><br />
The '''theme options''' is available on LimeSurvey 3.x, and offers a set of various tools that allows the survey administrators to quickly and easily change the themes-related settings of their surveys.<br />
<br />
=Options to Change a Theme= <!--T:6--><br />
There are two ways to use a theme in LimeSurvey 3.x, either through the global setting or through the theme option panel inside a survey.<br />
<br />
Changing the Theme from the '''global setting''' makes the chosen theme the default theme for all surveys you create.<br />
If the theme is changed for a particular survey using the '''Theme option panel''' inside the theme, only the theme for that particular survey is changed.<br />
<br />
==Global setting default Theme== <!--T:7--><br />
<br />
<center>[[File:default theme setting.png]]</center><br />
<br />
==Theme options panel==<!--T:8--><br />
This option changes the theme for a particular survey.<br />
To access the new '''theme options''' feature, go to the [[Survey settings|survey settings]]:<br />
<br />
<!--T:9--><br />
<center>[[File:Survey menu - theme options.png]]</center><br />
<br />
=Theme list=<!--T:10--><br />
The list of themes available can be access from the Administration Dashboard.<br><br />
<center>[[File:list of themes.png|800px]]</center><br />
<br />
<br />
The list is divided into 5 columns:<br />
*'''Preview of the theme:''' This shows how the theme will look like when used.<br />
*'''Theme title:''' Specifies the name of the theme.<br />
*'''Description of the themes:''' Users can always get more information about the theme using the URL on the description.<br />
*'''Type of theme:''' Core themes are themes provided with LimeSurvey and cannot be changed while User themes are extended themes added in upload directory by users.<br />
*'''Extends:''' if the theme extends other themes, the name of the extended theme will be displayed here.<br />
*'''Last Column with some action buttons:''' The last Column contains five buttons as shown on the image.<br />
The buttons are ways in which a theme can be edited and each button will be explained in details below,<br />
<br />
**'''Theme editor:''' it will redirect you to the theme editor<br />
**'''Theme options:''' it will lead you the global configuration of theme options<br />
**'''Uninstall:''' it will delete the configuration entries of a theme in the database<br />
**'''Install:''' it will load the manifest of a theme to add it to database and make it available for selection at the survey level<br />
**'''Reset:''' This will completely reset the theme.<br />
<br />
<br />
==Theme Editor==<br />
The LimeSurvey '''core themes''' (default themes) cannot be modified. The "extend" button give users the opportunity for a core theme to be modified(extended).<br />
<br />
<div class="simplebox">[[File:help.png]] This documentation assumes you already know how to use the Template Editor in the previous version of LS. </div><br />
<br />
The fruity theme is used for this demonstration on how to extend/modify a theme using the theme editor.<br />
<br />
When the theme editor button is clicked, the page below is displayed. The theme can be previewed using the "Previous" and "Next" buttons. The screen size can be adjusted to see how responsive the theme is on all devices.<br />
A new template can be imported or the current template can be exported as a zip file.<br />
<br />
<br />
<br />
<br />
<center>[[File:Theme editor button clicked.png|800px]]</center><br />
<br><br />
The Extend button will ask for a new name to save a copy of the theme you want to modify. <br />
In our case, the fruity theme will be named extends_fruity.<br><br />
<br />
<center>[[File:extended theme edit.png|800px]]</center><br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Extended_theme_edit.png&diff=145271File:Extended theme edit.png2019-11-27T15:13:25Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=File:Theme_editor_button_clicked.png&diff=145270File:Theme editor button clicked.png2019-11-27T14:55:04Z<p>Galads: </p>
<hr />
<div></div>Galadshttps://manual.limesurvey.org/index.php?title=Themes&diff=145269Themes2019-11-25T16:51:31Z<p>Galads: </p>
<hr />
<div><languages /><br />
<translate><br />
<br />
<!--T:1--><br />
__TOC__<br />
<br />
<!--T:2--><br />
<div class="simplebox">[[File:help.png]] '''LimeSurvey 3''' introduces a complete new template engine system, based on [https://twig.symfony.com/ Twig 1.29] and [https://getbootstrap.com/ Bootstrap], and allowing template inheritance and template options. The frontend HTML page can be 100% customize to suit your needs.</div><br />
<br />
<br />
<!--T:3--><br />
{{Box|Install Limesurvey 3.0+ to get access to the survey '''theme options''' feature. This option are '''not''' available in the older LimeSurvey versions!}}<br />
<br />
{{Alert|text='''The following section is still under construction. If you wish to get a short introduction on the new theme system from LimeSurvey 3.x, please continue reading the following [[New_Template_System_in_LS3.x|wiki section]]. If you are still using LimeSurvey 2.x, please continue reading the following [[Theme editor|wiki section]] (we always recommend our users to upgrade their installations!).'''}}<br />
<br />
=Introduction= <!--T:4--><br />
<br />
<!--T:5--><br />
The '''theme options''' is available on LimeSurvey 3.x, and offers a set of various tools that allows the survey administrators to quickly and easily change the themes-related settings of their surveys.<br />
<br />
=Options to Change a Theme= <!--T:6--><br />
There are two ways to use a theme in LimeSurvey 3.x, either through the global setting or through the theme option panel inside a survey.<br />
<br />
Changing the Theme from the '''global setting''' makes the chosen theme the default theme for all surveys you create.<br />
If the theme is changed for a particular survey using the '''Theme option panel''' inside the theme, only the theme for that particular survey is changed.<br />
<br />
==Global setting default Theme== <!--T:7--><br />
<br />
<center>[[File:default theme setting.png]]</center><br />
<br />
==Theme options panel==<!--T:8--><br />
This option changes the theme for a particular survey.<br />
To access the new '''theme options''' feature, go to the [[Survey settings|survey settings]]:<br />
<br />
<!--T:9--><br />
<center>[[File:Survey menu - theme options.png]]</center><br />
<br />
=Theme list=<!--T:10--><br />
The list of themes available can be access from the Administration Dashboard.<br />
<center>[[File:list of themes.png|800px]]</center><br />
<br />
<br />
The list is divided into 5 columns:<br />
*'''Preview of the theme:''' This shows how the theme will look like when used.<br />
*'''Theme title:''' Specifies the name of the theme.<br />
*'''Description of the themes:''' Users can always get more information about the theme using the URL on the description.<br />
*'''Type of theme:''' Core themes are themes provided with LimeSurvey and cannot be changed while User themes are extended themes added in upload directory by users.<br />
<br />
*'''Last Column:''' The last Column contains five buttons as shown on the image and their functions is explained below;<br />
**Theme editor: it will redirect you to the theme editor<br />
**Theme options: it will lead you the global configuration of theme options<br />
**Extends: if the theme extends another theme, its name will be indicated here<br />
**Uninstall: it will delete the configuration entries of a theme in the database<br />
**Install: it will load the manifest of a theme to add it to database and make it available for selection at the survey level<br />
**Reset<br />
</translate></div>Galadshttps://manual.limesurvey.org/index.php?title=File:List_of_themes.png&diff=145268File:List of themes.png2019-11-25T13:08:42Z<p>Galads: </p>
<hr />
<div></div>Galads