User Tools

Site Tools


matrixselectall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
matrixselectall [2023/02/20 09:41] adminmatrixselectall [2023/06/05 13:51] (current) admin
Line 1: Line 1:
 ====== matrixSelectAll - Select all non-exclusive answers for a statement in a multi-select matrix ====== ====== matrixSelectAll - Select all non-exclusive answers for a statement in a multi-select matrix ======
 The **matrixSelectAll** function changes an answer (aka scale point) in a multi-select matrix to a 'Select all' answer. Features include: The **matrixSelectAll** function changes an answer (aka scale point) in a multi-select matrix to a 'Select all' answer. Features include:
-  * Select all answer can be placed in any order (first, last, etc.) +  * 'Select allanswer can be placed in any order (first, last, etc.) 
-  * Compatible with exclusive answers (aka scale points) +  * Compatible with
-  Compatible with mobile accordion format +    * Exclusive answers (aka scale points) 
-  Compatible with back button+    Transposed matrix 
 +    * Position text above 
 +    * Mobile accordion format 
 +    Back button
  
 Here is a quick video demonstration:\\ Here is a quick video demonstration:\\
 {{ ::matrixSelectAll.mp4?800 |matrixSelectAll Demonstration}} {{ ::matrixSelectAll.mp4?800 |matrixSelectAll Demonstration}}
 +
 +Here is a quick demonstration of a transposed matrix:\\
 +{{ ::matrixselectall_transposed.mp4?800 |matrixSelectAll Transposed Demonstration}}
  
 To select all choices in multiple choice question see **[[mcselectall|mcSelectAll]]**. To select all choices in multiple choice question see **[[mcselectall|mcSelectAll]]**.
Line 20: Line 26:
 Alternatively, paste the matrixSelectAll function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page. Alternatively, paste the matrixSelectAll function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page.
 ==== Select All Answer Setup ==== ==== Select All Answer Setup ====
-To specify the Select all answer (aka scale point), put the answer text inside a span with the class ''selectAll'' (''selectAll'' is the default class and can be changed in **[[matrixselectall#options|options]]**). For example:+To specify the 'Select allanswer (aka scale point), put the answer text inside a span with the class ''selectAll'' (''selectAll'' is the default class and can be changed in **[[matrixselectall#options|options]]**). For example:
 <code> <code>
 <span class="selectAll">All options</span> <span class="selectAll">All options</span>
 </code> </code>
 +There should be one and only one 'select all' answer.
 === Question JavaScript === === Question JavaScript ===
 Add JS to call the matrixSelectAll function to apply it to the multiple choice question as follows: Add JS to call the matrixSelectAll function to apply it to the multiple choice question as follows:
Line 42: Line 49:
 The html class name of the span used to identify the Select/Deselect all choice. See **[[matrixselectall#select_all_answer_setup|Select All Answer Setup]]**. The html class name of the span used to identify the Select/Deselect all choice. See **[[matrixselectall#select_all_answer_setup|Select All Answer Setup]]**.
  
-Default: 'selectAll'+Default: %%"selectAll"%%
 ====== Qualtrics Wiki ====== ====== Qualtrics Wiki ======
 [[start|Qualtrics Wiki]] [[start|Qualtrics Wiki]]
matrixselectall.1676904080.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki