csranks
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| csranks [2023/03/09 12:00] – 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 80: | Line 80: | ||
| 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: %%"," | ||
| 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. | ||
csranks.1678381222.txt.gz · Last modified: by admin
