matrixhilo
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| matrixhilo [2022/10/13 14:14] – admin | matrixhilo [2023/06/21 10:50] (current) – [Embedded Field Names] admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== matrixHiLo - Get highest and lowest selected statements and scale points ====== | + | ====== matrixHiLo - Get highest and lowest selected |
| - | The **matrixHiLo** function sets embedded data fields for the highest and lowest selected recodes in a likert or bipolar matrix and the statements and scale points associated with those recodes. The embedded data fields can be used in for piping or display logic in follow-up questions. | + | The **matrixHiLo** function sets embedded data fields for the highest and lowest selected recodes in a likert or bipolar matrix and the statements and scale points associated with those recodes. The embedded data fields can be used for piping or display logic in follow-up questions. |
| The matrixHiLo function gets added to the matrix itself, so no additional logic is needed and the fields are available for use on the next page. | The matrixHiLo function gets added to the matrix itself, so no additional logic is needed and the fields are available for use on the next page. | ||
| Line 46: | Line 46: | ||
| ==== Embedded Field Names ==== | ==== Embedded Field Names ==== | ||
| === Recode Values === | === Recode Values === | ||
| - | High: {prefix}{delim}{hiText}{delim}{recodeText} (e.g., Q1.hi.recode) | + | High: {prefix}{delim}{hiText}{delim}{recodeText} (e.g., Q1.hi.recode)\\ |
| Low: {prefix}{delim}{loText}{delim}{recodeText} (e.g., Q1.lo.recode) | Low: {prefix}{delim}{loText}{delim}{recodeText} (e.g., Q1.lo.recode) | ||
| === Statements === | === Statements === | ||
| - | High: {prefix}{delim}{hiText}{delim}{stmtText} (e.g., Q1.hi.stmt) | + | High: {prefix}{delim}{hiText}{delim}{stmtText} (e.g., Q1.hi.stmt)\\ |
| Low: {prefix}{delim}{loText}{delim}{stmtText} (e.g., Q1.lo.stmt) | Low: {prefix}{delim}{loText}{delim}{stmtText} (e.g., Q1.lo.stmt) | ||
| - | === Statements | + | === Scale Point === |
| - | High: {prefix}{delim}{hiText}{delim}{scaleText} (e.g., Q1.hi.scale) | + | High: {prefix}{delim}{hiText}{delim}{scaleText} (e.g., Q1.hi.scale)\\ |
| Low: {prefix}{delim}{loText}{delim}{scaleText} (e.g., Q1.lo.scale) | Low: {prefix}{delim}{loText}{delim}{scaleText} (e.g., Q1.lo.scale) | ||
| ==== Saving Embedded Fields ==== | ==== Saving Embedded Fields ==== | ||
| For maxtrixHiLo embedded data fields to be saved to Qualtrics response data the names must be defined as embedded fields in the survey flow. The embedded data fields must be defined before they are set in the matrix question. Only the fields that need to be saved need to be defined in the survey flow. For example, if you are only interested in high values, only add those embedded data fields to the survey flow. It is not necessary to save fields in order to pipe them. | For maxtrixHiLo embedded data fields to be saved to Qualtrics response data the names must be defined as embedded fields in the survey flow. The embedded data fields must be defined before they are set in the matrix question. Only the fields that need to be saved need to be defined in the survey flow. For example, if you are only interested in high values, only add those embedded data fields to the survey flow. It is not necessary to save fields in order to pipe them. | ||
| ===== Options ===== | ===== Options ===== | ||
| - | ==== bpDelim ==== | ||
| - | **bpDelim** is a string delimiter used to separate the left and right statements in bipolar matrix. | ||
| - | |||
| - | Default: " / " | ||
| ==== bpDelim ==== | ==== bpDelim ==== | ||
| **bpDelim** is a string delimiter that applies only to bipolar matrix questions. The specified string is used to separate the left and right statements. | **bpDelim** is a string delimiter that applies only to bipolar matrix questions. The specified string is used to separate the left and right statements. | ||
| - | Default: " / " | + | Default: |
| ==== delim ==== | ==== delim ==== | ||
| **delim** is a string delimiter used to break the embedded data field names into sections. The delimiter is placed between each section. | **delim** is a string delimiter used to break the embedded data field names into sections. The delimiter is placed between each section. | ||
| - | Default: " | + | Default: |
| ==== enteredTextOnly ==== | ==== enteredTextOnly ==== | ||
| - | **enteredTextOnly** is a boolean that only applies to statements with "Allow text" turned on. When **true** and the entered text field is not blank, only the entered text is included in the statement text (e.g., "this is the entered text" | + | **enteredTextOnly** is a boolean that only applies to statements with "Allow text" turned on. When enteredTextOnly is **true** and the entered text field is not blank, only the entered text is included in the statement text (e.g., "this is the entered text" |
| Default: false | Default: false | ||
| Line 76: | Line 72: | ||
| **hiText** is a string used in embedded data field names of " | **hiText** is a string used in embedded data field names of " | ||
| - | Default: " | + | Default: |
| - | ==== joing ==== | + | ==== join ==== |
| **join** is a string used to join multiple statements into a single string. | **join** is a string used to join multiple statements into a single string. | ||
| - | Default: ", " | + | Default: |
| ==== loText ==== | ==== loText ==== | ||
| **loText** is a string used in embedded data field names of " | **loText** is a string used in embedded data field names of " | ||
| - | Default: " | + | Default: |
| ==== naRecode ==== | ==== naRecode ==== | ||
| - | **naRecode** is string that specifies a "not applicable" | + | **naRecode** is string that specifies |
| - | Default: "" | + | Default: |
| ==== prefix ==== | ==== prefix ==== | ||
| **prefix** is a string used at the beginning of embedded data field names. | **prefix** is a string used at the beginning of embedded data field names. | ||
| Line 96: | Line 92: | ||
| **recodeText** is the text used at the end of embedded data field names that contain recode values. | **recodeText** is the text used at the end of embedded data field names that contain recode values. | ||
| - | Default: " | + | Default: |
| ==== scaleText ==== | ==== scaleText ==== | ||
| **scaleText** is the text used at the end of embedded data field names that contain scale points. | **scaleText** is the text used at the end of embedded data field names that contain scale points. | ||
| - | Default: " | + | Default: |
| ==== stmtText ==== | ==== stmtText ==== | ||
| **stmtText** is the text used at the end of embedded data field names that contain statements. | **stmtText** is the text used at the end of embedded data field names that contain statements. | ||
| - | Default: " | + | Default: |
| ==== textOnly ==== | ==== textOnly ==== | ||
| - | **textOnly** is a boolean used to remove HTML from statements and scale points | + | **textOnly** is a boolean used to remove HTML from statements and scale point labels when set to true. |
| Default: false | Default: false | ||
| ==== textVar ==== | ==== textVar ==== | ||
| - | **textVar** is a boolean used to save statement and scale point variable names instead of display (HTML) or text values when **[[maxtrixhilo#textOnly|textOnly]]** AND **textVar** are true. | + | **textVar** is a boolean used to save statement and scale point variable names instead of display (HTML) or text values when **[[matrixhilo#textonly|textOnly]]** AND **textVar** are true. |
| Default: false | Default: false | ||
| ====== Qualtrics Wiki ====== | ====== Qualtrics Wiki ====== | ||
| [[start|Qualtrics Wiki]] | [[start|Qualtrics Wiki]] | ||
matrixhilo.1665684883.txt.gz · Last modified: by admin
