User Tools

Site Tools


sbsselectalphabetize

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
sbsselectalphabetize [2023/09/24 16:42] – [sbsSelectAlphabetize - Alphabetize selects (aka dropdowns) within a Side-by-Side on-the-fly] adminsbsselectalphabetize [2023/09/25 07:49] (current) admin
Line 40: Line 40:
  
 Default: [] (nothing anchored) Default: [] (nothing anchored)
-==== lang ==== +==== langs ==== 
-**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. +**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"}%%. 
 +==== 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}"%% Default: %%"${e://Field/Q_Langauge}"%%
sbsselectalphabetize.1695588175.txt.gz · Last modified: by admin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki