logo SmartSurvey / Scripting Docs
Back to Docs
Directive
*NUMLISTTOTAL Numeric

Defines a numeric allocation question where entries must sum to a predefined total (e.g., 100 for percentage allocation). The TOTAL: directive enforces this constraint.

Usage
script definition (.q)
*NUMLISTTOTAL 'Qx' 'Allocate 100 points:'
TOTAL:100
1:Category A
2:Category B
3:Category C
/
The respondent cannot advance until all entries sum to the TOTAL: value.
Related