formatlikertmatrix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| formatlikertmatrix [2020/12/21 15:22] – admin | formatlikertmatrix [2023/09/24 16:45] (current) – [formatLikertMatrix - Improve usability of a Likert matrix in a variety of ways] admin | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| * Format columns based on percentage width of label/ | * Format columns based on percentage width of label/ | ||
| * Reliably switches to and from mobile accordion mode | * Reliably switches to and from mobile accordion mode | ||
| - | * Controls display of repeating | + | * Controls display of repeating |
| * Controls vertical alignment of repeating headers | * Controls vertical alignment of repeating headers | ||
| * Add ' | * Add ' | ||
| * Display scale labels in mobile accordion mode | * Display scale labels in mobile accordion mode | ||
| * Hide specified cells | * Hide specified cells | ||
| + | * Compatible with **[[matrixhighlightunanswered|matrixHighlightUnanswered]]** | ||
| + | |||
| + | This function is available for a reasonable fee. Contact **[[https:// | ||
| ===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
| ==== Survey Header ==== | ==== Survey Header ==== | ||
| - | To make the function available to all questions in the survey, copy the function to the Survey Header inside a script tag: | ||
| Add the formatLikertMatrix function to the survey header to make it available to any question in the survey. | Add the formatLikertMatrix function to the survey header to make it available to any question in the survey. | ||
| < | < | ||
| Line 18: | Line 20: | ||
| </ | </ | ||
| Alternatively, | Alternatively, | ||
| - | ==== Multiple Choice | + | ==== Matrix |
| === Question Settings === | === Question Settings === | ||
| Set the following single choice Likert Matrix options: | Set the following single choice Likert Matrix options: | ||
| Line 33: | Line 35: | ||
| </ | </ | ||
| - | To override the default options, specify the desired [[formatlikertmatrix# | + | To override the default options, specify the desired |
| < | < | ||
| Qualtrics.SurveyEngine.addOnload(function() { | Qualtrics.SurveyEngine.addOnload(function() { | ||
| Line 55: | Line 57: | ||
| // | // | ||
| hideCells: {2: | hideCells: {2: | ||
| - | ==== allRepeatEvery ==== | ||
| - | **allRepeatEvery** specifies how often to show repeated headers when Repeat Headers ' | ||
| - | |||
| - | Default: 1 | ||
| - | |||
| - | Default: {} | ||
| ==== labelWidthPercent ==== | ==== labelWidthPercent ==== | ||
| **labelWidthPercent** specifies the width of the label column as a percentage of question width. The remaining width is divided evenly among the other columns. | **labelWidthPercent** specifies the width of the label column as a percentage of question width. The remaining width is divided evenly among the other columns. | ||
| Line 69: | Line 65: | ||
| Default: false | Default: false | ||
| + | ==== midHeaderAlign ==== | ||
| + | **midHeaderAlign** specifies the vertical alignment of repeated middle labels. Possible values are top, middle, and bottom. | ||
| + | |||
| + | Default: %%" | ||
| + | ==== minHeaderRepeatBot ==== | ||
| + | **minHeaderRepeatBot: | ||
| + | |||
| + | Default: 0 | ||
| + | ==== minHeaderRepeatMid ==== | ||
| + | **minHeaderRepeatMid** specifies the minimum number of rows before showing repeated headers in the middle when ' | ||
| + | |||
| + | Default: 0 | ||
| + | ==== NAdividerStyle ==== | ||
| + | **NAdividerStyle** specifies the CSS style of the **[[formatlikertmatrix# | ||
| + | |||
| + | Default: %%"1px solid # | ||
| + | ====== Qualtrics Wiki ====== | ||
| + | [[start|Qualtrics Wiki]] | ||
formatlikertmatrix.1608582147.txt.gz · Last modified: by admin
