logo SmartSurvey / Scripting Docs
Back to Docs
Directive
*RANK Choice

Defines a Ranking question where the respondent orders items by dragging or numbering them. Each item receives a rank (1 = most preferred).

Usage
script definition (.q)
*RANK 'Qx' 'Rank these brands from most to least preferred:'
1:BrandA
2:BrandB
3:BrandC
/
Use valueof[Qx.n] in expressions where n is the option code, returning that option's assigned rank.
Related