Array filter/es: Difference between revisions
From LimeSurvey Manual
Maren.fritz (talk | contribs) (Created page with "Además, cada uno de estos tipos de preguntas se puede filtrar.") |
Maren.fritz (talk | contribs) (Created page with "La única excepción es ''Array (Columna)'', que puede filtrar otras preguntas, pero no ella misma.</div>") |
||
Line 19: | Line 19: | ||
Además, cada uno de estos tipos de preguntas se puede filtrar. | Además, cada uno de estos tipos de preguntas se puede filtrar. | ||
La única excepción es ''Array (Columna)'', que puede filtrar otras preguntas, pero no ella misma.</div> | |||
'''How to set a filter''' | '''How to set a filter''' |
Revision as of 14:08, 4 September 2023
Filtro de matriz (array_filter)
Descripción
La configuración Filtro de matriz le permite utilizar cualquier pregunta de opción múltiple para seleccionar o establecer qué respuestas se muestran en una lista, matriz o pregunta de opción múltiple posterior.
- Opción múltiple
- Opción múltiple con comentarios
- Texto breve múltiple
- Número múltiple
- Matriz (5 puntos, 10 puntos, Sí/No/Desconocido, Aumentar/Igual/Disminuir, Columna)
- Matriz (Escala dual, Texto, Números)
- Clasificación
Además, cada uno de estos tipos de preguntas se puede filtrar.
La única excepción es Array (Columna), que puede filtrar otras preguntas, pero no ella misma.How to set a filter
To set a filter, enter the question code of a multiple options question in the array filter box of the question you are currently editing. The respective question will be used as the source of information for the current question, the selected answers from the previous question being retrieved and used as answer options for the current question. For example, if your source multiple option question code is "Q1", enter "Q1" into the 'Array Filter' box to start the filtering process of the answers. Only the answer options that are selected in question Q1 will be visible in the array_filter-ed question.
Cascading
The selected options can be displayed in cascade. This means that you can select a question which filters another question, which filters another question, and so on.
Array filter example
Let's take a look at the following example to better understand the power of this setting:
In the screenshot from above, we got two questions. The first one is a multiple short text question type, while the second one is an array dual scale question type. The answers you provide in the first question will be listed in the second one. Technically, the answers you provide to the subquestions from the first question are filtered and displayed in the second question.
This example can be downloaded from the following link: limesurvey_group_32.lsg. Import this question group into your LimeSurvey installation.