User Tools

Site Tools


formatlikertmatrix

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
formatlikertmatrix [2022/09/28 20:32] – [formatLikertMatrix - Improve usability of a Likert matrix in a variety of ways] adminformatlikertmatrix [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/statement column   * Format columns based on percentage width of label/statement column
   * Reliably switches to and from mobile accordion mode   * Reliably switches to and from mobile accordion mode
-  * Controls display of  repeating headers display when carry forward or display logic is used+  * Controls display of  repeating header display when carry forward or display logic is used
   * Controls vertical alignment of repeating headers   * Controls vertical alignment of repeating headers
   * Add 'NA' column divider line and adjust scale labels accordingly   * Add 'NA' column divider line and adjust scale labels accordingly
Line 12: Line 12:
   * Compatible with **[[matrixhighlightunanswered|matrixHighlightUnanswered]]**   * Compatible with **[[matrixhighlightunanswered|matrixHighlightUnanswered]]**
  
-This function is available for a reasonable fee. Contact [[https://community.qualtrics.com/XMcommunity/messages/add/TomG|TomG]] on the Qualtrics Community to learn more.+This function is available for a reasonable fee. Contact **[[https://community.qualtrics.com/inbox/conversation?with=373|TomG]]** on the Qualtrics Community to learn more.
 ===== 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.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided formatLikertMatrix function JS: Add the formatLikertMatrix function to the survey header to make it available to any question in the survey.   Go to Look & Feel -> General -> Header edit -> {{::icon_source.jpg?20|}} and paste the provided formatLikertMatrix function JS:
 <code> <code>
Line 21: Line 20:
 </code> </code>
 Alternatively, paste the formatLikertMatrix function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page. Alternatively, paste the formatLikertMatrix function JS into a question's JS outside the existing Qualtrics functions to make it available to questions on the page.
-==== Multiple Choice Question ====+==== Matrix Question ====
 === Question Settings === === Question Settings ===
 Set the following single choice Likert Matrix options: Set the following single choice Likert Matrix options:
Line 36: Line 35:
 </code> </code>
  
-To override the default options, specify the desired [[formatlikertmatrix#options|options]] in the second function argument as an object. For example:+To override the default options, specify the desired **[[formatlikertmatrix#options|options]]** in the second function argument as an object. For example:
 <code> <code>
 Qualtrics.SurveyEngine.addOnload(function() { Qualtrics.SurveyEngine.addOnload(function() {
Line 69: Line 68:
 **midHeaderAlign** specifies the vertical alignment of repeated middle labels. Possible values are top, middle, and bottom. **midHeaderAlign** specifies the vertical alignment of repeated middle labels. Possible values are top, middle, and bottom.
  
-Default: "middle"+Default: %%"middle"%%
 ==== minHeaderRepeatBot ==== ==== minHeaderRepeatBot ====
-**minHeaderRepeatBot:** specifies the minimum number of rows before showing repeated headers on bottom when 'Bottom' or 'Both' turned on.+**minHeaderRepeatBot:** specifies the minimum number of rows before showing repeated headers on bottom when 'Bottom' or 'Both' is turned on.
  
 Default: 0 Default: 0
 ==== minHeaderRepeatMid ==== ==== minHeaderRepeatMid ====
-**minHeaderRepeatMid** specifies the minimum number of rows before showing repeated headers in the middle when 'Middle' or 'Both' turned on.+**minHeaderRepeatMid** specifies the minimum number of rows before showing repeated headers in the middle when 'Middle' or 'Both' is turned on.
  
 Default: 0 Default: 0
 ==== NAdividerStyle ==== ==== NAdividerStyle ====
-**NAdividerStyle** specifies the CSS style of the [[formatlikertmatrix#lastNA|lastNA]] divider.+**NAdividerStyle** specifies the CSS style of the **[[formatlikertmatrix#lastNA|lastNA]]** divider.
  
-Default: "1px solid #BBBBBB"+Default: %%"1px solid #BBBBBB"%%
 ====== Qualtrics Wiki ====== ====== Qualtrics Wiki ======
 [[start|Qualtrics Wiki]] [[start|Qualtrics Wiki]]
formatlikertmatrix.1664411529.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki