Overview
In certain question types, there are cases where you would want to add the option to code single choice answers that represent Refuse to Answer or Do Not Know and similar rather than specifying the answer.
For these cases we have the “Special Codes” feature, that allows you to add single choice answers in the following question types: Open ended, Numeric, DateTime.
Adding Special Codes answers
Under the question’s View tab, you can find the “Special Codes” tab:
Once you open it, you can add the single answers you want (using the “Add” / “Multi-Add” buttons, the same way as adding answers to a “regular” single choice question):
On screen, the special codes answers will appear at the bottom with the option to code them:
These are some common functions used with this type of answers:
- IsCodesAnswer(QuestionIndex) - This function's return's 'true' or 'false' if a special code was selected in a Numeric\Open-Ended question
- IsCodesAnswerIter(QuestionInedx. IterationIndex) - This function's return's 'true' or 'false' if a special code was selected in a Numeric\Open-Ended question within a loop with a given iteration.
The Answer function will return the index of the special code option i.e in the above example if Don't Know was selected then:
- IsCodesAnswer(CurrQues) will return 'true'
- Answer(CurrQues) will return 1
Visit us at http://support.dooblo.net
Comments
Please sign in to leave a comment.