scaledmatrix
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| scaledmatrix [2022/12/12 10:31] – [Survey Header] admin | scaledmatrix [2024/04/30 07:45] (current) – [Matrix Question] admin | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Functionality includes: | Functionality includes: | ||
| * Option for formatting single row matrix questions | * Option for formatting single row matrix questions | ||
| - | * Option for formatting | + | * Option for formatting |
| * Options for repeating headers in middle or on bottom | * Options for repeating headers in middle or on bottom | ||
| * Supports scale images | * Supports scale images | ||
| * Supports middle labels, not just end labels (unlike NPS question) | * Supports middle labels, not just end labels (unlike NPS question) | ||
| + | * Supports choice groups | ||
| * Optionally control width of scale labels | * Optionally control width of scale labels | ||
| * Optionally add and format scale dividers | * Optionally add and format scale dividers | ||
| Line 21: | Line 22: | ||
| {{ : | {{ : | ||
| - | This function is available for a reasonable fee. Contact **[[https:// | + | This function is available for a reasonable fee. Contact **[[https:// |
| ===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
| ==== Survey Header ==== | ==== Survey Header ==== | ||
| Line 45: | Line 46: | ||
| < | < | ||
| Qualtrics.SurveyEngine.addOnload(function() { | Qualtrics.SurveyEngine.addOnload(function() { | ||
| - | scaledMatrix(this, | + | scaledMatrix(this, |
| }); | }); | ||
| </ | </ | ||
| Line 65: | Line 66: | ||
| Default: false | Default: false | ||
| - | ==== lastNA | + | ==== NAcols |
| - | **lastNA** specifies the last column as ' | + | **NAcols** specifies the number of ' |
| - | Default: | + | Default: |
| ==== NAdividerStyle ==== | ==== NAdividerStyle ==== | ||
| - | **NAdividerStyle** specifies the CSS style of the NA divider that separate the NA answer | + | **NAdividerStyle** specifies the CSS style of the NA divider that separate the NA columns |
| - | Default: : "1px solid # | + | Default: : %%"1px solid # |
| ==== NAwidth ==== | ==== NAwidth ==== | ||
| - | **NAwidth** is used to override the default width of NA column | + | **NAwidth** is used to override the default width of NA columns |
| Default: 0 | Default: 0 | ||
| Line 88: | Line 89: | ||
| **scaleDividerStyle** specifies the CSS style of the scale dividers when **[[scaledmatrix# | **scaleDividerStyle** specifies the CSS style of the scale dividers when **[[scaledmatrix# | ||
| - | Default: "1px solid # | + | Default: |
| ==== scaleImage ==== | ==== scaleImage ==== | ||
| **scaleImage** specifies the url of the image that will be displayed above the scale. | **scaleImage** specifies the url of the image that will be displayed above the scale. | ||
| - | Default: "" | + | Default: |
| ==== scaleLabels ==== | ==== scaleLabels ==== | ||
| **scaleLabels** is an array that specifies the scale labels. | **scaleLabels** is an array that specifies the scale labels. | ||
| - | Default: [" | + | Default: |
| ==== scaleLabelWidth ==== | ==== scaleLabelWidth ==== | ||
| **scaleLabelsWidths** is an array that specifies the width of the scale labels. For example: [" | **scaleLabelsWidths** is an array that specifies the width of the scale labels. For example: [" | ||
scaledmatrix.1670859090.txt.gz · Last modified: by admin
