logo SmartSurvey / Scripting Docs
Back to Docs
Question Type
24 Dropdown Choice *SR (dropdown)

A single-response question rendered as a dropdown/select box. Functionally identical to type 1 (*SR); TYPE:DROPDOWN only changes the UI presentation. Preferred for long option lists.

Type ID 24
Directive *SR (dropdown)
Category Choice
Script Definition
script definition (.q)
*SR 'Q24' 'Select your district:'
TYPE:DROPDOWN
1:Dhaka
2:Chittagong
3:Sylhet
4:Rajshahi
/
Use in Expressions
expressions
Q24=1              -- selected Dhaka
Q24>=3             -- selected Sylhet or Rajshahi
Q24!=4             -- not Rajshahi
Expression syntax is identical to a standard *SR question.
Preferred for long lists where a dropdown is more compact than radio buttons.
Related