csranks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| csranks [2022/12/12 10:18] – [rankText] admin | csranks [2025/02/15 09:38] (current) – [otherSortArr] admin | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| * Supports two modes: allow ties or break ties | * Supports two modes: allow ties or break ties | ||
| * Supports tie breaking based on question randomization or one or more of these other choice fields: text, id, variable name, html, or recode. Other choices fields can be sorted ascending or descending for tie breaking purposes. | * Supports tie breaking based on question randomization or one or more of these other choice fields: text, id, variable name, html, or recode. Other choices fields can be sorted ascending or descending for tie breaking purposes. | ||
| - | * Saves labels of choices to embedded data fields. Labels can be saved as HTML, text only, or variable names. | + | * Saves labels of choices to embedded data fields. Labels can be saved as HTML, text only, variable names, or entered text. |
| * Saves values of choices to embedded data fields. | * Saves values of choices to embedded data fields. | ||
| * Ranked items can be piped on the next page - no additional questions, blocks, or survey flow logic needed. | * Ranked items can be piped on the next page - no additional questions, blocks, or survey flow logic needed. | ||
| Line 62: | Line 62: | ||
| **and** is text used to join the last label when **[[csranks# | **and** is text used to join the last label when **[[csranks# | ||
| - | Default: " | + | Default: |
| ==== delim ==== | ==== delim ==== | ||
| **delim** is a delimiter used to break the embedded data field names into sections. The delimiter is placed between each section. | **delim** is a delimiter used to break the embedded data field names into sections. The delimiter is placed between each section. | ||
| - | Default: " | + | Default: |
| ==== join ==== | ==== join ==== | ||
| **join** is text used to join three or more labels when **[[csranks# | **join** is text used to join three or more labels when **[[csranks# | ||
| - | Default: ", " | + | Default: |
| ==== labelText ==== | ==== labelText ==== | ||
| **labelText** is used in embedded data field names that capture labels of ranked items. | **labelText** is used in embedded data field names that capture labels of ranked items. | ||
| - | Default: " | + | Default: |
| ==== last ==== | ==== last ==== | ||
| **last** is text used in embedded data field names for the last ranked item in place of a rank number (e.g., Q1.rank.text.last). | **last** is text used in embedded data field names for the last ranked item in place of a rank number (e.g., Q1.rank.text.last). | ||
| - | Default: " | + | Default: |
| ==== otherSortArr ==== | ==== otherSortArr ==== | ||
| - | **otherSortArr** is an array used to specify the fields used for tie breaking. It also specifies | + | **otherSortArr** is an array used to specify the fields used for tie breaking. It also specifies |
| < | < | ||
| csRanks(this, | csRanks(this, | ||
| Line 87: | Line 87: | ||
| Default: [] | Default: [] | ||
| ==== oxford ==== | ==== oxford ==== | ||
| - | **oxford** is text used before **[[csranks# | + | **oxford** is text used before **[[csranks# |
| - | Default: "," | + | Default: |
| ==== prefixText ==== | ==== prefixText ==== | ||
| **prefixText**, | **prefixText**, | ||
| - | Default: "" | + | Default: |
| ==== rankText ==== | ==== rankText ==== | ||
| **rankText** is the text used in the rank section of embedded data field names. | **rankText** is the text used in the rank section of embedded data field names. | ||
| - | Default: " | + | Default: |
| ==== rankZero ==== | ==== rankZero ==== | ||
| **rankZero** is a boolean that specifies if choices with a value of zero should be included in ranking. | **rankZero** is a boolean that specifies if choices with a value of zero should be included in ranking. | ||
| Line 106: | Line 106: | ||
| Default: false | Default: false | ||
| + | ==== textEnter ==== | ||
| + | **textEnter** is a boolean used to capture entered text for the choice label when ‘Allow text’ is turned on. | ||
| + | |||
| + | Default: true | ||
| ==== textOnly ==== | ==== textOnly ==== | ||
| **textOnly** is a boolean used to remove HTML from labels when set to true. | **textOnly** is a boolean used to remove HTML from labels when set to true. | ||
| Line 117: | Line 121: | ||
| **valueText** is used in embedded data field names that capture values of ranked items. | **valueText** is used in embedded data field names that capture values of ranked items. | ||
| - | Default: " | + | Default: |
| ====== Qualtrics Wiki ====== | ====== Qualtrics Wiki ====== | ||
| [[start|Qualtrics Wiki]] | [[start|Qualtrics Wiki]] | ||
csranks.1670858295.txt.gz · Last modified: by admin
