GetQuestionType

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
eqtYesNo 0
eqtAmerican 1
eqtNumeric 2
eqtFreeText 3
eqtMultiSelect  4
eqtRating 5
eqtScale 6
eqtMatrix 7
eqtMultiTopics 8
eqtNoQuestion 9
eqtDateTime 10
eqtCounters 11
eqtStopper 12
eqtMassiveMultiSelect 13
eqtExpression 14
eqtMultiText 15
eqtMultiNumeric 16
eqtMultimedia 17
eqtMultiTopicsSelect 18
eqtGPSQuestion 19
eqtListSource 20
eqtPositionTopicsOnImage 21
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.