eULQuestionType GetQuestionType(int inQuesIdx)
Description
Returns the question type eNum number of question inQuesIdx
Parameters
The following is a list of parameters the functions receives
Parameter | Type | Description |
---|---|---|
inQuesIdx | int | Question index |
Return Type
eULQuestionType
Example
If question index 10 is a multiple selection question, GetQuestionType(QRef(10)) will return 4
when adding ToString() at the end it will return the name of question type in string
GetQuestionType(QRef(2)).ToString() will return eqtAmerican
Question Type list
Question Type | eqtNum | Description |
eqtAmerican | 1 | Single Choice |
eqtNumeric | 2 | Numeric Question |
eqtFreeText | 3 | Open Ended Question |
eqtMultiSelect | 4 | Multiple Selection Question |
eqtRating | 5 | Rating Question |
eqtScale | 6 | Scale Question |
eqtMultiTopics | 8 | Single Choice Grid Question |
eqtNoQuestion | 9 | Empty Question |
eqtDateTime | 10 | Date/Time Question |
eqtCounters | 11 | Counters Question |
eqtStopper | 12 | Stopper Question |
eqtExpression | 14 | Expression Question |
eqtMultiText | 15 | Open Ended Grid |
eqtMultiNumeric | 16 | Numeric Grid |
eqtMultimedia | 17 | Multimedia Question |
eqtMultiTopicsSelect | 18 | Multiple Selection Grid Question |
eqtGPSQuestion | 19 | Location Question |
eqtListSource | 20 | External List Question |
eqtPositionTopicsOnImage | 21 | Position Topic on Image Question |
Comments
Please sign in to leave a comment.