How to find question type using script

confirmit

#1

Any function there which retruns the question type in confirmit?


#2

Hi @cuteboy, ye we have getType() method which can give the question type. But, it will return values as CODED, OPEN, COMPOUND, DICHOTOMY etc

If this can help then it good, but if you want to know the proper question type then you need to check further by making different conditions.