ddalphabetize
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ddalphabetize [2023/09/24 16:38] – admin | ddalphabetize [2023/09/25 08:14] (current) – [langs] admin | ||
|---|---|---|---|
| Line 9: | Line 9: | ||
| To alphabetize choices in multiple choice questions on-the-fly, see **[[mcAlphabetize|mcAlphabetize]]**. To alphabetize choices in side-by-side selects on-the-fly, see **[[sbsSelectAlphabetize|sbsSelectAlphabetize]]**. | To alphabetize choices in multiple choice questions on-the-fly, see **[[mcAlphabetize|mcAlphabetize]]**. To alphabetize choices in side-by-side selects on-the-fly, see **[[sbsSelectAlphabetize|sbsSelectAlphabetize]]**. | ||
| - | |||
| ===== Set-up Instructions ===== | ===== Set-up Instructions ===== | ||
| ==== Survey Header ==== | ==== Survey Header ==== | ||
| Line 34: | Line 33: | ||
| ===== Options ===== | ===== Options ===== | ||
| ==== anchors ==== | ==== anchors ==== | ||
| - | **anchors** specifies the array of choice ids that should be anchored to the bottom of the list. Choice ids should be listed in the order they should be displayed. | + | **anchors** specifies the array of choice ids that should be anchored to the bottom of the lists. Choice ids should be listed in the order they should be displayed. |
| To identify choice ids (i.e., option values), preview the question and use the Inspect feature of your browser. | To identify choice ids (i.e., option values), preview the question and use the Inspect feature of your browser. | ||
| Default: [] (nothing anchored) | Default: [] (nothing anchored) | ||
| - | ==== lang ==== | ||
| - | **lang** is a two character Qualtrics language string that should be used to do the alphabetization. By default, this is the current language of the survey. | ||
| - | |||
| - | Default: %%" | ||
| ==== langs ==== | ==== langs ==== | ||
| - | **langs** is an object for mapping Qualtrics language codes to valid JavaScript locale languages for correct sorting. It is only needed if the Qualtrics language code doesn' | + | **langs** is an object for mapping Qualtrics language codes to valid JavaScript locale languages for correct sorting. It is only needed if the Qualtrics language code doesn' |
| - | If you have created your own language code, you made need to add your language to the langs object if it doesn' | + | If you have created your own language code, you made need to add your language to the **langs** object if it doesn' |
| + | ==== qlang ==== | ||
| + | **qlang** is the Qualtrics language code string that should be used to do the alphabetization. By default, this is the current language of the survey. | ||
| + | |||
| + | Default: %%" | ||
| ====== Qualtrics Wiki ====== | ====== Qualtrics Wiki ====== | ||
| [[start|Qualtrics Wiki]] | [[start|Qualtrics Wiki]] | ||
ddalphabetize.1695587909.txt.gz · Last modified: by admin
