logo SmartSurvey / Scripting Docs
Back to Docs
Question Property
*EXCLUDE [QId]

*EXCLUDE prevents specific response options from being displayed/available in the current question when those responses have already been selected in a previous question.

Basic Syntax :
*QUESTION <QuestionID> <QuestionType> *EXCLUDE [SourceQuestion]

Syntax *EXCLUDE [QId]
Applies To *SR *MR *RANK *GRIDSR *GRIDMR
Usage Example
script definition (.q)
*QUESTION RQ18 *MR *EXCLUDE [RQ17]
RQ18. What other fashion apparel or lifestyle brands are you aware of? Please mention all other brands that come to your mind. [MA]
1:Aarong
2:TAAGA
3:Yellow
4:Cat's Eye
5:Noir
6:Blue Cheese
7:Illiyeen
*INCLUDE and *EXCLUDE can not be used together as a qeustion property. If required this type of filter need to prepare a dummy question with the filter and used a *INCLUDE to get the required filtered attributes.