User Tools

Site Tools


ddalphabetize

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ddalphabetize [2023/09/24 16:38] adminddalphabetize [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: %%"${e://Field/Q_Langauge}"%% 
 ==== 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't resolve to valid JavaScript locale language code. Of the built-in Qualtrics language only ZH-S (Simplified Chinese) and ZH-T (Traditional Chinese) don't resolve, but they are included in the **langs** object by default.+**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't resolve to valid JavaScript locale language code. Of the built-in Qualtrics languages, only ZH-S (Simplified Chinese) and ZH-T (Traditional Chinese) don't resolve, but they are included in the **langs** object by default.
  
-If you have created your own language code, you made need to add your language to the langs object if it doesn't automatically resolve. A new language specification would look like %%langs:{"XX":"yy"}%%.+If you have created your own language code, you made need to add your language to the **langs** object if it doesn't automatically resolve. A new language specification would look like %%langs:{"XX":"yy"}%%. 
 +==== 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: %%"${e://Field/Q_Langauge}"%%
 ====== Qualtrics Wiki ====== ====== Qualtrics Wiki ======
 [[start|Qualtrics Wiki]] [[start|Qualtrics Wiki]]
ddalphabetize.1695587909.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki